summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapi_nop.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-21 22:57:10 -0700
committerMatt Turner <[email protected]>2014-09-24 09:58:43 -0700
commit9499d6e358786f1ed3ed79e16fd301106cd08ddd (patch)
tree390b73586218ec98e4a6ffc6b7cafce6d4cb5a35 /src/mapi/glapi/glapi_nop.c
parentd20015a576ff1b8c1458264fd896fd2246cd3d1d (diff)
mesa: Unifdef _WIN32_WCE.
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mapi/glapi/glapi_nop.c')
-rw-r--r--src/mapi/glapi/glapi_nop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mapi/glapi/glapi_nop.c b/src/mapi/glapi/glapi_nop.c
index 2597c8cb8f2..628276e932b 100644
--- a/src/mapi/glapi/glapi_nop.c
+++ b/src/mapi/glapi/glapi_nop.c
@@ -63,7 +63,7 @@ _glapi_set_warning_func(_glapi_proc func)
static int
Warn(const char *func)
{
-#if defined(DEBUG) && !defined(_WIN32_WCE)
+#if defined(DEBUG)
if (getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG")) {
fprintf(stderr, "GL User Error: gl%s called without a rendering context\n",
func);
@@ -103,11 +103,9 @@ NoOpUnused(void)
static int
NoOpGeneric(void)
{
-#if !defined(_WIN32_WCE)
if (getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG")) {
fprintf(stderr, "GL User Error: calling GL function without a rendering context\n");
}
-#endif
return 0;
}