Commit 6585bec5 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Check for error conditions in GL call.

parent ea9a6a4b
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment