summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-15 21:39:32 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-15 21:39:32 +0000
commit2d376a61f0f2524d4f4bc75fccc7134e6817b819 (patch)
treed82e62058de7399c1f7dc59db66296c546e502e0 /src/mesa/shader/slang
parent82a9ba92b4d50dec49c8301a4da53cb2b10fbcf9 (diff)
s/int/GLboolean/
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c2
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c
index b62743addb..679d93b951 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -183,7 +183,7 @@ int slang_variable_construct (slang_variable *var)
var->initializer = NULL;
var->address = ~0;
var->size = 0;
- var->global = 0;
+ var->global = GL_FALSE;
return 1;
}
diff --git a/src/mesa/shader/slang/slang_compile_variable.h b/src/mesa/shader/slang/slang_compile_variable.h
index 6b9679a3b7..0b62ad2f1d 100644
--- a/src/mesa/shader/slang/slang_compile_variable.h
+++ b/src/mesa/shader/slang/slang_compile_variable.h
@@ -76,7 +76,7 @@ typedef struct slang_variable_
struct slang_operation_ *initializer;
unsigned int address;
unsigned int size;
- int global;
+ GLboolean global;
} slang_variable;
int slang_variable_construct (slang_variable *);