Bug 981005 - Ensure the correct GLContext is current before trying to update in CanvasClientSurfaceStream r=snorp

This commit is contained in:
George Wright 2014-03-27 17:59:38 -04:00
Родитель 35e34e3a85
Коммит cc9ef6042e
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -110,6 +110,7 @@ CanvasClientSurfaceStream::CanvasClientSurfaceStream(CompositableForwarder* aLay
void
CanvasClientSurfaceStream::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
{
aLayer->mGLContext->MakeCurrent();
GLScreenBuffer* screen = aLayer->mGLContext->Screen();
SurfaceStream* stream = nullptr;