[SDL] Missing in_window in SDL 1.2 SVN
Torsten Giebl
wizard at syntheticsw.com
Mon Apr 6 09:10:38 PDT 2009
Hello !
Latest SVN version of SDL 1.2 does not compile because
of a missing in_window variable. It was removed in revision 4478,
i think by accident.
To get it back use this patch :
Index: src/video/wincommon/SDL_sysevents.c
===================================================================
--- src/video/wincommon/SDL_sysevents.c (revision 4481)
+++ src/video/wincommon/SDL_sysevents.c (working copy)
@@ -363,6 +363,7 @@
{
SDL_VideoDevice *this = current_video;
static int mouse_pressed = 0;
+ static int in_window = 0;
#ifdef WMMSG_DEBUG
fprintf(stderr, "Received windows message: ");
if ( msg > MAX_WMMSG ) {
CU
More information about the SDL
mailing list