summaryrefslogtreecommitdiff
path: root/include/vcl/opengl/OpenGLContext.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-02 04:12:59 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:58:47 +0100
commit73ca9a6b71b484e6dc331c6ffbca6071a1bf1195 (patch)
treedd65f1aff31662e535c814f7d556bd55894b8424 /include/vcl/opengl/OpenGLContext.hxx
parentdafa1c73e65bf363d97d86a91d5d4da1068ad6c9 (diff)
init the OpenGL context in the windows backend
Change-Id: Ic4fb491c95170639015a4452f355354ad01612bc
Diffstat (limited to 'include/vcl/opengl/OpenGLContext.hxx')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 1692ba0f5da2..3a8ec9ad8484 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -164,6 +164,8 @@ public:
// only in vcl's platform code
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
bool init(Display* dpy, Window win, int screen);
+#elif defined( _WIN32 )
+ bool init( HDC hDC, HWND hWnd );
#endif
void makeCurrent();