Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user