Change the argument orders to match OpenGL's in GraphicsContext3D functions
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / cc / CCRenderSurface.cpp
index 4303271..25ac8fa 100644 (file)
@@ -207,7 +207,7 @@ void CCRenderSurface::drawSurface(LayerRendererChromium* layerRenderer, CCLayerI
         float edge[24];
         layerQuad.toFloatArray(edge);
         deviceRect.toFloatArray(&edge[12]);
-        GLC(context3D, context3D->uniform3fv(shaderEdgeLocation, edge, 8));
+        GLC(context3D, context3D->uniform3fv(shaderEdgeLocation, 8, edge));
     }
 
     // Map device space quad to layer space.