[TextureMapper] Typo in edge-distance anti-aliasing code
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 18:59:52 +0000 (18:59 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2012 18:59:52 +0000 (18:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90475

Patch by Sergio Villar Senin <svillar@igalia.com> on 2012-07-03
Reviewed by Martin Robinson.

No new tests. This just fixes a typo.

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

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

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

index 6fa72a5..969628a 100644 (file)
@@ -1,3 +1,15 @@
+2012-07-03  Sergio Villar Senin  <svillar@igalia.com>
+
+        [TextureMapper] Typo in edge-distance anti-aliasing code
+        https://bugs.webkit.org/show_bug.cgi?id=90475
+
+        Reviewed by Martin Robinson.
+
+        No new tests. This just fixes a typo.
+
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+        (WebCore::TextureMapperGL::drawQuad):
+
 2012-06-27  Vsevolod Vlasov  <vsevik@chromium.org>
 
         Web Inspector: [Extensions API] Resource manipulations should be based on UISourceCode thus extending Sources Panel.
index 0b6fc8a..5f95dde 100644 (file)
@@ -311,7 +311,7 @@ void TextureMapperGL::drawQuad(const DrawQuad& quadToDraw, const TransformationM
     GL_CMD(glBindBuffer(GL_ARRAY_BUFFER, 0));
 
     const GLfloat quad[] = {
-        quadToDraw.targetRectMappedToUnitSquare.p1().x(), quadToDraw.targetRectMappedToUnitSquare.p1().x(),
+        quadToDraw.targetRectMappedToUnitSquare.p1().x(), quadToDraw.targetRectMappedToUnitSquare.p1().y(),
         quadToDraw.targetRectMappedToUnitSquare.p2().x(), quadToDraw.targetRectMappedToUnitSquare.p2().y(),
         quadToDraw.targetRectMappedToUnitSquare.p3().x(), quadToDraw.targetRectMappedToUnitSquare.p3().y(),
         quadToDraw.targetRectMappedToUnitSquare.p4().x(), quadToDraw.targetRectMappedToUnitSquare.p4().y()