mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 636906 - GFX blacklisting not affecting WebGL; r=joe a=hardblocker
This commit is contained in:
parent
5bc865c4b0
commit
c39751ce2b
@ -473,14 +473,6 @@ WebGLContext::SetDimensions(PRInt32 width, PRInt32 height)
|
||||
gl = nsnull;
|
||||
}
|
||||
}
|
||||
|
||||
// if that failed, and we weren't already preferring EGL, try it now.
|
||||
if (!gl && !(preferEGL || useANGLE)) {
|
||||
gl = gl::GLContextProviderEGL::CreateOffscreen(gfxIntSize(width, height), format);
|
||||
if (gl && !InitAndValidateGL()) {
|
||||
gl = nsnull;
|
||||
}
|
||||
}
|
||||
#else
|
||||
// other platforms just use whatever the default is
|
||||
if (!gl && useOpenGL) {
|
||||
|
Loading…
Reference in New Issue
Block a user