Title: [210133] trunk/Source/WebCore
Revision
210133
Author
[email protected]
Date
2016-12-23 06:36:50 -0800 (Fri, 23 Dec 2016)

Log Message

[GTK] GLES build broken since r208997
https://bugs.webkit.org/show_bug.cgi?id=166455

Unreviewed. Fix the preprocessor guards here; this code is incompatible with GLES2.

Looks like it's been broken for a month. Typical!

* platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
(WebCore::Extensions3DOpenGLCommon::initializeAvailableExtensions):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210132 => 210133)


--- trunk/Source/WebCore/ChangeLog	2016-12-23 09:15:07 UTC (rev 210132)
+++ trunk/Source/WebCore/ChangeLog	2016-12-23 14:36:50 UTC (rev 210133)
@@ -1,3 +1,15 @@
+2016-12-22  Michael Catanzaro  <[email protected]>
+
+        [GTK] GLES build broken since r208997
+        https://bugs.webkit.org/show_bug.cgi?id=166455
+
+        Unreviewed. Fix the preprocessor guards here; this code is incompatible with GLES2.
+
+        Looks like it's been broken for a month. Typical!
+
+        * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
+        (WebCore::Extensions3DOpenGLCommon::initializeAvailableExtensions):
+
 2016-12-23  Zan Dobersek  <[email protected]>
 
         [EME][GStreamer] Enable various code paths for ENCRYPTED_MEDIA

Modified: trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp (210132 => 210133)


--- trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp	2016-12-23 09:15:07 UTC (rev 210132)
+++ trunk/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLCommon.cpp	2016-12-23 14:36:50 UTC (rev 210133)
@@ -209,7 +209,7 @@
 
 void Extensions3DOpenGLCommon::initializeAvailableExtensions()
 {
-#if PLATFORM(MAC) || PLATFORM(GTK)
+#if PLATFORM(MAC) || (PLATFORM(GTK) && !USE(OPENGL_ES_2))
     if (m_useIndexedGetString) {
         GLint numExtensions = 0;
         ::glGetIntegerv(GL_NUM_EXTENSIONS, &numExtensions);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to