[GTK] Unreviewed fix. Correct wrong flags, ENABLE(GTK)->PLATFORM(GTK).
authorchangseok.oh@collabora.com <changseok.oh@collabora.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Feb 2014 17:00:02 +0000 (17:00 +0000)
committerchangseok.oh@collabora.com <changseok.oh@collabora.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Feb 2014 17:00:02 +0000 (17:00 +0000)
* platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::drawArraysInstanced):
(WebCore::Extensions3DOpenGL::drawElementsInstanced):
(WebCore::Extensions3DOpenGL::vertexAttribDivisor):

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

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

index 3dcd081..7efc9b5 100644 (file)
@@ -1,3 +1,12 @@
+2014-02-18  ChangSeok Oh  <changseok.oh@collabora.com>
+
+        [GTK] Unreviewed fix. Correct wrong flags, ENABLE(GTK)->PLATFORM(GTK).
+
+        * platform/graphics/opengl/Extensions3DOpenGL.cpp:
+        (WebCore::Extensions3DOpenGL::drawArraysInstanced):
+        (WebCore::Extensions3DOpenGL::drawElementsInstanced):
+        (WebCore::Extensions3DOpenGL::vertexAttribDivisor):
+
 2014-02-18  Mihnea Ovidenie  <mihnea@adobe.com>
 
         [CSSRegions] Compute region ranges for inline replaced elements
index cdd6259..9b94b9e 100644 (file)
@@ -238,7 +238,7 @@ void Extensions3DOpenGL::drawBuffersEXT(GC3Dsizei n, const GC3Denum* bufs)
 
 void Extensions3DOpenGL::drawArraysInstanced(GC3Denum mode, GC3Dint first, GC3Dsizei count, GC3Dsizei primcount)
 {
-#if ENABLE(GTK)
+#if PLATFORM(GTK)
     m_context->makeContextCurrent();
     ::glDrawArraysInstanced(mode, first, count, primcount);
 #else
@@ -251,7 +251,7 @@ void Extensions3DOpenGL::drawArraysInstanced(GC3Denum mode, GC3Dint first, GC3Ds
 
 void Extensions3DOpenGL::drawElementsInstanced(GC3Denum mode, GC3Dsizei count, GC3Denum type, long long offset, GC3Dsizei primcount)
 {
-#if ENABLE(GTK)
+#if PLATFORM(GTK)
     m_context->makeContextCurrent();
     ::glDrawElementsInstanced(mode, count, type, reinterpret_cast<GLvoid*>(static_cast<intptr_t>(offset)), primcount);
 #else
@@ -265,7 +265,7 @@ void Extensions3DOpenGL::drawElementsInstanced(GC3Denum mode, GC3Dsizei count, G
 
 void Extensions3DOpenGL::vertexAttribDivisor(GC3Duint index, GC3Duint divisor)
 {
-#if ENABLE(GTK)
+#if PLATFORM(GTK)
     m_context->makeContextCurrent();
     ::glVertexAttribDivisor(index, divisor);
 #else