Title: [131515] trunk/Source/WebCore
Revision
131515
Author
[email protected]
Date
2012-10-16 15:09:58 -0700 (Tue, 16 Oct 2012)

Log Message

[Qt] REGRESSION(r131485): It broke the build
https://bugs.webkit.org/show_bug.cgi?id=99499

Unreviewed build (warning) fix.


* platform/graphics/texmap/TextureMapperShaderManager.cpp:
(WebCore::TextureMapperShaderProgram::getLocation):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (131514 => 131515)


--- trunk/Source/WebCore/ChangeLog	2012-10-16 22:08:36 UTC (rev 131514)
+++ trunk/Source/WebCore/ChangeLog	2012-10-16 22:09:58 UTC (rev 131515)
@@ -1,3 +1,13 @@
+2012-10-16  Noam Rosenthal  <[email protected]>
+
+        [Qt] REGRESSION(r131485): It broke the build
+        https://bugs.webkit.org/show_bug.cgi?id=99499
+
+        Unreviewed build (warning) fix.
+
+        * platform/graphics/texmap/TextureMapperShaderManager.cpp:
+        (WebCore::TextureMapperShaderProgram::getLocation):
+
 2012-10-16  David Grogan  <[email protected]>
 
         Inspector: Don't fire assert when inspecting an empty db

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp (131514 => 131515)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp	2012-10-16 22:08:36 UTC (rev 131514)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderManager.cpp	2012-10-16 22:09:58 UTC (rev 131515)
@@ -76,7 +76,7 @@
     if (it != m_variables.end())
         return it->value;
 
-    GC3Duint location;
+    GC3Duint location = 0;
     switch (type) {
     case UniformVariable:
         location = m_context->getUniformLocation(m_id, name);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to