wined3d: Check for error conditions in GL call.
Matteo Bruni
matteo.mystral at gmail.com
Mon Jun 21 15:30:41 CDT 2010
-------------- next part --------------
From 4802ad7755dcf9b7dcabc9f8a4982a2b6d8388a7 Mon Sep 17 00:00:00 2001
From: Matteo Bruni <matteo.mystral at gmail.com>
Date: Mon, 21 Jun 2010 22:14:58 +0200
Subject: 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
{
--
1.7.1
More information about the wine-patches
mailing list