aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/win32
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-22 12:51:52 +0100
committerSven Gothel <[email protected]>2010-11-22 12:51:52 +0100
commita3f593158b25f78027504129c343b9aab433183d (patch)
tree78b1ce61415becc29d7505228b768fc84f48c824 /make/stub_includes/win32
parent350b35a202fcc268b9d732b305418b2e76746501 (diff)
NativeWindow/Windows: Fix CreateDummyWindow gluegen and usage
NativeWindow+JOGL/Windows: Complete Opaque types
Diffstat (limited to 'make/stub_includes/win32')
-rw-r--r--make/stub_includes/win32/windows.h1
-rw-r--r--make/stub_includes/win32/wingdi.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/win32/windows.h b/make/stub_includes/win32/windows.h
index a1162f531..d9f9e692a 100644
--- a/make/stub_includes/win32/windows.h
+++ b/make/stub_includes/win32/windows.h
@@ -23,6 +23,7 @@ typedef HANDLE HDC;
typedef HANDLE HGDIOBJ;
typedef HANDLE HGLRC;
typedef HANDLE HMODULE;
+typedef HANDLE HINSTANCE;
typedef HANDLE HPALETTE;
typedef HANDLE HWND;
typedef long LONG;
diff --git a/make/stub_includes/win32/wingdi.h b/make/stub_includes/win32/wingdi.h
index e4942b21b..e31cd8c5a 100644
--- a/make/stub_includes/win32/wingdi.h
+++ b/make/stub_includes/win32/wingdi.h
@@ -168,7 +168,7 @@ WINGDIAPI HGDIOBJ WINAPI SelectObject(HDC, HGDIOBJ);
// Routines for creation of a dummy window, device context and OpenGL
// context for the purposes of getting wglChoosePixelFormatARB and
// associated routines
- HWND CreateDummyWindow( int x, int y, int width, int height ) ;
+ HWND CreateDummyWindow0( HINSTANCE hInstance, int x, int y, int width, int height ) ;
WINUSERAPI BOOL WINAPI ShowWindow(HWND hWnd, int nCmdShow);
WINUSERAPI HDC WINAPI GetDC(HWND);
WINUSERAPI int WINAPI ReleaseDC(HWND hWnd, HDC hDC);