Fix compilation issue with GLES2 after http://webkit.org/b/126548
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2014 17:34:59 +0000 (17:34 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Jan 2014 17:34:59 +0000 (17:34 +0000)
https://bugs.webkit.org/show_bug.cgi?id=126578

Patch by Pascal Jacquemart <p.jacquemart@samsung.com> on 2014-01-07
Reviewed by  Brent Fulgham

* platform/graphics/opengl/TemporaryOpenGLSetting.cpp: added GLES2/gl2.h include

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161428 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/opengl/TemporaryOpenGLSetting.cpp

index 9d41dce..75d5662 100644 (file)
@@ -1,3 +1,12 @@
+2014-01-07  Pascal Jacquemart  <p.jacquemart@samsung.com>
+
+        Fix compilation issue with GLES2 after http://webkit.org/b/126548
+        https://bugs.webkit.org/show_bug.cgi?id=126578
+
+        Reviewed by  Brent Fulgham
+
+        * platform/graphics/opengl/TemporaryOpenGLSetting.cpp: added GLES2/gl2.h include
+
 2014-01-07  László Langó  <llango.u-szeged@partner.samsung.com>
 
         Remove some extra includes from XML.
index 8cc8eaa..fc8742a 100644 (file)
@@ -30,6 +30,7 @@
 #include "TemporaryOpenGLSetting.h"
 
 #if USE(OPENGL_ES_2)
+#include <GLES2/gl2.h>
 #include "OpenGLESShims.h"
 #elif PLATFORM(MAC)
 #include <OpenGL/gl.h>