Bug 986572 - Add missing MakeCurrent call to SharedSurface_GL::ProdCopy - r=jgilbert

This commit is contained in:
Benoit Jacob 2014-04-15 12:01:21 -04:00
parent e88cd18627
commit 9cd660b7d6

View File

@ -24,6 +24,8 @@ SharedSurface_GL::ProdCopy(SharedSurface_GL* src, SharedSurface_GL* dest,
{
GLContext* gl = src->GL();
gl->MakeCurrent();
if (src->AttachType() == AttachmentType::Screen &&
dest->AttachType() == AttachmentType::Screen)
{