Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange

This commit is contained in:
Ehsan Akhgari
2011-02-15 13:30:33 -05:00
parent e4608946c5
commit 6aa6e1ff43
5 changed files with 2 additions and 71 deletions

View File

@@ -226,10 +226,9 @@ CanvasLayerOGL::RenderLayer(int aPreviousDestination,
mLayerProgram =
gl()->UploadSurfaceToTexture(mCanvasSurface,
nsIntRect(0, 0, drawRect.width, drawRect.height),
drawRect,
mTexture,
true,
drawRect.TopLeft());
true);
}
if (!program) {
program = mOGLManager->GetColorTextureLayerProgram(mLayerProgram);