Bug 705024 - Guarantee GLContexts are resolved properly - r=bjacob

This commit is contained in:
Jeff Gilbert
2011-12-16 14:24:46 -08:00
parent 1b891e88fd
commit eec79c2595
4 changed files with 29 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ CanvasLayerOGL::RenderLayer(int aPreviousDestination,
if (useGLContext) {
mCanvasGLContext->MakeCurrent();
mCanvasGLContext->fFinish();
mCanvasGLContext->GuaranteeResolve();
gl()->MakeCurrent();
gl()->BindTex2DOffscreen(mCanvasGLContext);