[Qt] Fix the build on OpenGL ES2 platforms
authorabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2012 15:53:24 +0000 (15:53 +0000)
committerabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Apr 2012 15:53:24 +0000 (15:53 +0000)
Unreviewed build fix.

No new tests needed.

* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
Fix typo in TEXMAP_OPENGL_ES_2 define.

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp

index 417c4ae..15b27fc 100644 (file)
@@ -1,3 +1,15 @@
+2012-04-11  Andras Becsi  <andras.becsi@nokia.com>
+
+        [Qt] Fix the build on OpenGL ES2 platforms
+
+        Unreviewed build fix.
+
+        No new tests needed.
+
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+        (WebCore::BitmapTextureGL::updateContents):
+        Fix typo in TEXMAP_OPENGL_ES_2 define.
+
 2012-04-11  Ami Fischman  <fischman@chromium.org>
 
         Remove unused WebVideoFrame::Format values
index 59feb77..8af01e8 100644 (file)
@@ -470,7 +470,7 @@ void BitmapTextureGL::updateContents(const void* data, const IntRect& targetRect
         return;
     }
 
-#if !defined(TEXTMAP_OPENGL_ES_2)
+#if !defined(TEXMAP_OPENGL_ES_2)
     // Use the OpenGL sub-image extension, now that we know it's available.
     GL_CMD(glPixelStorei(GL_UNPACK_ROW_LENGTH, bytesPerLine / 4));
     GL_CMD(glPixelStorei(GL_UNPACK_SKIP_ROWS, sourceOffset.y()));