mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish
This commit is contained in:
parent
fca978efc7
commit
6d1eaccc33
@ -80,7 +80,9 @@ RenderTarget9::RenderTarget9(Renderer *renderer, GLsizei width, GLsizei height,
|
||||
0, FALSE, &mRenderTarget, NULL);
|
||||
}
|
||||
|
||||
if (result == D3DERR_OUTOFVIDEOMEMORY || result == E_OUTOFMEMORY)
|
||||
if (result == D3DERR_OUTOFVIDEOMEMORY ||
|
||||
result == E_INVALIDARG ||
|
||||
result == E_OUTOFMEMORY)
|
||||
{
|
||||
gl::error(GL_OUT_OF_MEMORY);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user