Bug 615976 - Adds support for multisampled GLContexts, esp. EGL, WGL paths - r=bjacob

This commit is contained in:
Jeff Gilbert
2011-10-19 15:09:57 -04:00
parent 0cffb72602
commit c04e3b423a
6 changed files with 190 additions and 81 deletions

View File

@@ -1111,7 +1111,7 @@ BasicCanvasLayer::UpdateSurface(gfxASurface* aDestSurface)
mGLContext->MakeCurrent();
#if defined (MOZ_X11) && defined (MOZ_EGL_XRENDER_COMPOSITE)
mGLContext->fFinish();
mGLContext->Finish();
gfxASurface* offscreenSurface = mGLContext->GetOffscreenPixmapSurface();
// XRender can only blend premuliplied alpha, so only allow xrender