diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-11-02 04:12:59 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-11-10 07:58:47 +0100 |
commit | 73ca9a6b71b484e6dc331c6ffbca6071a1bf1195 (patch) | |
tree | dd65f1aff31662e535c814f7d556bd55894b8424 /include | |
parent | don't try to use OpenGL for printing (diff) | |
download | core-73ca9a6b71b484e6dc331c6ffbca6071a1bf1195.tar.gz core-73ca9a6b71b484e6dc331c6ffbca6071a1bf1195.zip |
init the OpenGL context in the windows backend
Change-Id: Ic4fb491c95170639015a4452f355354ad01612bc
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 2 |
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(); |