include/SDL_syswm.h
changeset 438 f9c5f135a8b9
parent 337 9154ec9ca3d2
child 471 26dafefeebb2
--- a/include/SDL_syswm.h	Sat Aug 17 17:21:04 2002 +0000
+++ b/include/SDL_syswm.h	Sat Aug 17 17:49:27 2002 +0000
@@ -111,6 +111,7 @@
 } SDL_SysWMinfo;
 
 #elif defined(WIN32)
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
 /* The windows custom event structure */
@@ -126,6 +127,7 @@
 typedef struct {
 	SDL_version version;
 	HWND window;			/* The Win32 display window */
+	HGLRC hglrc;			/* The OpenGL context, if any */
 } SDL_SysWMinfo;
 
 #else