Module: wine Branch: master Commit: 6585bec5ac0a2793badcac8a4fc9fb267341ed2e URL: http://source.winehq.org/git/wine.git/?a=commit;h=6585bec5ac0a2793badcac8a4f...
Author: Matteo Bruni matteo.mystral@gmail.com Date: Mon Jun 21 22:14:58 2010 +0200
wined3d: Check for error conditions in GL call.
---
dlls/wined3d/surface.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index d363feb..73c5aff 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 {