From: Brian Paul Date: Wed, 15 Nov 2006 21:39:32 +0000 (+0000) Subject: s/int/GLboolean/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d376a61f0f2524d4f4bc75fccc7134e6817b819;p=mesa.git s/int/GLboolean/ --- 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 *);