Commit 5284fce1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Disable checkGLcall when WINE_NO_DEBUG_MSGS is specified.

parent 70968e69
......@@ -420,6 +420,7 @@ extern int num_lock;
/* Checking of API calls */
/* --------------------- */
#ifndef WINE_NO_DEBUG_MSGS
#define checkGLcall(A) \
{ \
GLint err = glGetError(); \
......@@ -431,7 +432,10 @@ extern int num_lock;
debug_glerror(err), err, A, __FILE__, __LINE__); \
err = glGetError(); \
} while (err != GL_NO_ERROR); \
}
}
#else
#define checkGLcall(A) do {} while(0);
#endif
/* Trace routines / diagnostics */
/* ---------------------------- */
......
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