diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp b/Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp index c502a0c3b..8ae96b94c 100644 --- a/Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp +++ b/Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp @@ -29,7 +29,11 @@ #if ENABLE(GRAPHICS_CONTEXT_3D) #include "TemporaryOpenGLSetting.h" -#if USE(OPENGL_ES_2) +#if PLATFORM(QT) +#define FUNCTIONS m_functions +#include "OpenGLShimsQt.h" +#define glIsEnabled(...) m_functions->glIsEnabled(__VA_ARGS__) +#elif USE(OPENGL_ES_2) #include <GLES2/gl2.h> #include "OpenGLESShims.h" #elif PLATFORM(IOS) @@ -38,10 +42,6 @@ #include <OpenGL/gl.h> #elif PLATFORM(GTK) || PLATFORM(EFL) || PLATFORM(WIN) #include "OpenGLShims.h" -#elif PLATFORM(QT) -#define FUNCTIONS m_functions -#include "OpenGLShimsQt.h" -#define glIsEnabled(...) m_functions->glIsEnabled(__VA_ARGS__) #endif namespace WebCore { |