summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-15 21:39:32 +0000
committerBrian Paul <[email protected]>2006-11-15 21:39:32 +0000
commit2d376a61f0f2524d4f4bc75fccc7134e6817b819 (patch)
treed82e62058de7399c1f7dc59db66296c546e502e0 /src
parent82a9ba92b4d50dec49c8301a4da53cb2b10fbcf9 (diff)
s/int/GLboolean/
Diffstat (limited to 'src')
-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 b62743addb0..679d93b951a 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 6b9679a3b75..0b62ad2f1d3 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 *);