wined3d: Check for error conditions in GL call.

This commit is contained in:
Matteo Bruni 2010-06-21 22:14:58 +02:00 committed by Alexandre Julliard
parent ea9a6a4b4e
commit 6585bec5ac
1 changed files with 1 additions and 0 deletions

View File

@ -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
{