Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson

This commit is contained in:
Jeff Gilbert
2013-04-25 09:35:50 -07:00
parent c15ae845b1
commit 9287f01d60
3 changed files with 9 additions and 3 deletions

View File

@@ -83,8 +83,8 @@ static bool EnsureGLContext()
{
if (!sPluginContext) {
gfxIntSize dummySize(16, 16);
GLContext::SurfaceCaps dummyCaps;
sPluginContext = GLContextProvider::CreateOffscreen(dummySize, dummyCaps);
sPluginContext = GLContextProvider::CreateOffscreen(dummySize,
GLContext::SurfaceCaps::Any());
}
return sPluginContext != nullptr;