diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-25 20:25:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-13 11:33:18 +0000 |
commit | 482d7ce61b423600b41b459eb26a2cc221cd0acf (patch) | |
tree | 8da6edb8200889d93f0b344e61ed779c037a590f /include/vcl/opengl/OpenGLContext.hxx | |
parent | 178e38dd82a2cffb2db747c7be82ba7a48338968 (diff) |
change from glew to epoxy
because that works under wayland out of the box and gtk3 uses it already
Change-Id: Iefaac31e325534a81a5389f752804af917c1baef
Reviewed-on: https://gerrit.libreoffice.org/31213
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/opengl/OpenGLContext.hxx')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index e77a6e994d12..37d354e576f8 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -12,7 +12,7 @@ #include <string.h> -#include <GL/glew.h> +#include <epoxy/gl.h> #include <vcl/dllapi.h> #include <vcl/window.hxx> @@ -158,8 +158,8 @@ private: virtual void destroyCurrentContext(); protected: - bool InitGLEW(); - static void InitGLEWDebugging(); + bool InitGL(); + static void InitGLDebugging(); static void InitChildWindow(SystemChildWindow *pChildWindow); static void BuffersSwapped(); virtual GLWindow& getModifiableOpenGLWindow() = 0; |