From 04c5a5625908572b1e4bfd8b33689ce993a39925 Mon Sep 17 00:00:00 2001 From: Eliot Miranda Date: Wed, 11 Dec 2024 11:13:10 -0800 Subject: [PATCH] Fix two snafus in moving the TerfVM HostWindowPlugin primitives into the trunk in the previous commit. --- platforms/unix/vm-display-fbdev/sqUnixFBDev.c | 2 +- .../win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/unix/vm-display-fbdev/sqUnixFBDev.c b/platforms/unix/vm-display-fbdev/sqUnixFBDev.c index 8ebb599523..43c5905d16 100644 --- a/platforms/unix/vm-display-fbdev/sqUnixFBDev.c +++ b/platforms/unix/vm-display-fbdev/sqUnixFBDev.c @@ -569,7 +569,7 @@ static long display_ioSizeOfNativeDisplay(void *windowHandle) { return -1; } static long display_ioPositionOfNativeWindow(void *windowHandle) { return -1; } static long display_ioSizeOfNativeWindow(void *windowHandle) { return -1; } #if SqDisplayVersionMajor >= 1 && SqDisplayVersionMinor >= 7 -static long display_hostWindowCloseAll(void) { return 0; } +static long display_ioScreenRectangles(void) { return 0; } #endif // SqDisplayVersionMajor >= 1 && SqDisplayVersionMinor >= 7 #endif // SqDisplayVersionMajor >= 1 && SqDisplayVersionMinor >= 3 diff --git a/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c b/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c index c785cd55db..f7d1f9414f 100644 --- a/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c +++ b/platforms/win32/plugins/HostWindowPlugin/sqWin32HostWindowPlugin.c @@ -575,7 +575,7 @@ ioSizeOfScreenWorkArea (sqIntptr_t windowIndex) } static sqInt result, monitorIdx; -static BOOL +static BOOL __stdcall enumMonitor(HMONITOR monitor, HDC dc, LPRECT rect, LPARAM store) { if (store) {