summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-09-27 03:30:49 +0000
committerBrian Paul <[email protected]>2000-09-27 03:30:49 +0000
commitf142a0830a76b7ba473ad76bf312405fe726a1cc (patch)
tree828938eefc0fd5bb2f739e04e0a842437b09c7da /src
parent643be9541689e23e7ffcf79f5b0e4f9433bba9be (diff)
include types.h
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index c8f50dc12fe..aeb51c3e25a 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -1,4 +1,4 @@
-/* $Id: imports.c,v 1.1 2000/09/26 20:53:53 brianp Exp $ */
+/* $Id: imports.c,v 1.2 2000/09/27 03:30:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -42,6 +42,7 @@
#include "glheader.h"
#include "imports.h"
#include "mem.h"
+#include "types.h"
static void *
@@ -75,7 +76,7 @@ _mesa_warning(__GLcontext *gc, char *str)
#ifdef DEBUG
debug = GL_TRUE;
#else
- if (gc->imports.getenv("MESA_DEBUG")) {
+ if (gc->imports.getenv(gc, "MESA_DEBUG")) {
debug = GL_TRUE;
}
else {