Title: [209233] trunk/Source/WebCore
- Revision
- 209233
- Author
- [email protected]
- Date
- 2016-12-02 00:24:08 -0800 (Fri, 02 Dec 2016)
Log Message
Fix WinCairo build after r208997
https://bugs.webkit.org/show_bug.cgi?id=165283
Patch by Alex Christensen <[email protected]> on 2016-12-02
Reviewed by Carlos Garcia Campos.
* platform/graphics/GLContext.cpp:
glGetIntegerv is defined in gl2.h.
GL_MAJOR_VERSION is defined in gl3.h.
These are not included in the WinCairo build.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209232 => 209233)
--- trunk/Source/WebCore/ChangeLog 2016-12-02 06:08:30 UTC (rev 209232)
+++ trunk/Source/WebCore/ChangeLog 2016-12-02 08:24:08 UTC (rev 209233)
@@ -1,3 +1,15 @@
+2016-12-02 Alex Christensen <[email protected]>
+
+ Fix WinCairo build after r208997
+ https://bugs.webkit.org/show_bug.cgi?id=165283
+
+ Reviewed by Carlos Garcia Campos.
+
+ * platform/graphics/GLContext.cpp:
+ glGetIntegerv is defined in gl2.h.
+ GL_MAJOR_VERSION is defined in gl3.h.
+ These are not included in the WinCairo build.
+
2016-11-30 Darin Adler <[email protected]>
Stop using WebCore::Dictionary in bindings for Fetch
Modified: trunk/Source/WebCore/platform/graphics/GLContext.cpp (209232 => 209233)
--- trunk/Source/WebCore/platform/graphics/GLContext.cpp 2016-12-02 06:08:30 UTC (rev 209232)
+++ trunk/Source/WebCore/platform/graphics/GLContext.cpp 2016-12-02 08:24:08 UTC (rev 209233)
@@ -26,6 +26,11 @@
#include "GLContextEGL.h"
#endif
+#if USE(OPENGL_ES_2)
+#include <GLES2/gl2.h>
+#include <GLES3/gl3.h>
+#endif
+
#if USE(GLX)
#include "GLContextGLX.h"
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes