s/int/GLboolean/
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Nov 2006 21:39:32 +0000 (21:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 15 Nov 2006 21:39:32 +0000 (21:39 +0000)
src/mesa/shader/slang/slang_compile_variable.c
src/mesa/shader/slang/slang_compile_variable.h

index b62743addb08935e197c693801756ab15e48640b..679d93b951afd27350c232b58f81452c04cbf13e 100644 (file)
@@ -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;
 }
 
index 6b9679a3b75a14ee5b70aaa1d593f9ff2926983b..0b62ad2f1d33b8b4932d8bdc42e1c2d6c398dde2 100644 (file)
@@ -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 *);