projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f38a2
)
mesa: No getenv on WinCE.
author
José Fonseca
<jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 17:35:50 +0000
(
02:35
+0900)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Mon, 23 Jun 2008 17:39:17 +0000
(
02:39
+0900)
src/mesa/glapi/glapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/glapi/glapi.c
b/src/mesa/glapi/glapi.c
index ed59ddb0b733363fc658d780af39bac2efd5d2fc..c236656d9a6fba1498bb8c0c3d79c5ab4074b3a9 100644
(file)
--- a/
src/mesa/glapi/glapi.c
+++ b/
src/mesa/glapi/glapi.c
@@
-82,6
+82,7
@@
_glapi_set_warning_func( _glapi_warning_func func )
static GLboolean
warn(void)
{
+#if !defined(_WIN32_WCE)
if ((WarnFlag || getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG"))
&& warning_func) {
return GL_TRUE;
@@
-89,6
+90,9
@@
warn(void)
else {
return GL_FALSE;
}
+#else
+ return GL_FALSE;
+#endif
}