wined3d: Check for error conditions in GL call.
This commit is contained in:
parent
ea9a6a4b4e
commit
6585bec5ac
|
@ -848,6 +848,7 @@ static void surface_allocate_surface(IWineD3DSurfaceImpl *This, const struct win
|
|||
{
|
||||
GL_EXTCALL(glCompressedTexImage2DARB(This->texture_target, This->texture_level,
|
||||
internal, width, height, 0, This->resource.size, mem));
|
||||
checkGLcall("glCompressedTexImage2DARB");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue