From 6585bec5ac0a2793badcac8a4fc9fb267341ed2e Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Mon, 21 Jun 2010 22:14:58 +0200 Subject: [PATCH] wined3d: Check for error conditions in GL call. --- dlls/wined3d/surface.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index d363feb1da0..73c5aff5f9e 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -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 { -- 2.11.4.GIT