summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/ANGLEWebKitBridge.h')
-rw-r--r--Source/WebCore/platform/graphics/ANGLEWebKitBridge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h b/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
index 50684426a..dc5082a45 100644
--- a/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
+++ b/Source/WebCore/platform/graphics/ANGLEWebKitBridge.h
@@ -38,6 +38,11 @@
#include "OpenGLESShims.h"
#elif PLATFORM(QT)
#include <qopengl.h>
+
+#ifndef GL_SAMPLER_2D_RECT_ARB
+#define GL_SAMPLER_2D_RECT_ARB 0x8B63
+#endif
+
#elif PLATFORM(GTK) || PLATFORM(EFL)
#if USE(OPENGL_ES_2)
#include <GLES2/gl2.h>