mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=525984; [webgl] reset mThebesSurface on OSX in case of error to avoid crash; r=jrmuizel
This commit is contained in:
parent
02fe8f1b07
commit
fa7984e74f
@ -229,6 +229,7 @@ nsGLPbufferCGL::ThebesSurface()
|
||||
mThebesSurface = new gfxImageSurface(gfxIntSize(mWidth, mHeight), gfxASurface::ImageFormatARGB32);
|
||||
if (mThebesSurface->CairoStatus() != 0) {
|
||||
fprintf (stderr, "image surface failed\n");
|
||||
mThebesSurface = nsnull;
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user