Title: [125752] trunk/Source/WebCore
Revision
125752
Author
[email protected]
Date
2012-08-16 00:18:45 -0700 (Thu, 16 Aug 2012)

Log Message

TextureMapperGL::beginPainting has a duplicate call to get GL_FRAMEBUFFER_BINDING.
https://bugs.webkit.org/show_bug.cgi?id=94180

Patch by Zhigang Gong <[email protected]> on 2012-08-16
Reviewed by Noam Rosenthal.

* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::TextureMapperGL::beginPainting):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (125751 => 125752)


--- trunk/Source/WebCore/ChangeLog	2012-08-16 07:06:14 UTC (rev 125751)
+++ trunk/Source/WebCore/ChangeLog	2012-08-16 07:18:45 UTC (rev 125752)
@@ -1,3 +1,13 @@
+2012-08-16  Zhigang Gong  <[email protected]>
+
+        TextureMapperGL::beginPainting has a duplicate call to get GL_FRAMEBUFFER_BINDING.
+        https://bugs.webkit.org/show_bug.cgi?id=94180
+
+        Reviewed by Noam Rosenthal.
+
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+        (WebCore::TextureMapperGL::beginPainting):
+
 2012-08-16  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r119705.

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp (125751 => 125752)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp	2012-08-16 07:06:14 UTC (rev 125751)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp	2012-08-16 07:18:45 UTC (rev 125752)
@@ -264,7 +264,6 @@
     GL_CMD(glDepthMask(0));
     GL_CMD(glGetIntegerv(GL_VIEWPORT, data().viewport));
     GL_CMD(glGetIntegerv(GL_SCISSOR_BOX, data().previousScissor));
-    glGetIntegerv(GL_FRAMEBUFFER_BINDING, &data().targetFrameBuffer);
     m_clipStack.init(IntRect(0, 0, data().viewport[2], data().viewport[3]));
     GL_CMD(glGetIntegerv(GL_FRAMEBUFFER_BINDING, &data().targetFrameBuffer));
     data().PaintFlags = flags;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to