mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 713369 - don't try to fall back to another GL provider, *at all* - r=jgilbert
This commit is contained in:
parent
fa875e1658
commit
343931424b
@ -491,7 +491,7 @@ WebGLContext::SetDimensions(PRInt32 width, PRInt32 height)
|
||||
// if we want EGL, try it now
|
||||
if (!gl && (preferEGL || useANGLE) && !preferOpenGL) {
|
||||
gl = gl::GLContextProviderEGL::CreateOffscreen(gfxIntSize(width, height), format);
|
||||
if (gl && !InitAndValidateGL()) {
|
||||
if (!gl || !InitAndValidateGL()) {
|
||||
LogMessage("Error during ANGLE OpenGL ES initialization");
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user