From: Brian Date: Wed, 31 Oct 2007 18:01:08 +0000 (-0600) Subject: fix type for Samplers field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=287d573f5d992416e8355b597224e817c137387b;p=mesa.git fix type for Samplers field --- diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h index db7bcee5165..af77d4278bb 100644 --- a/src/mesa/shader/prog_execute.h +++ b/src/mesa/shader/prog_execute.h @@ -62,7 +62,7 @@ struct gl_program_machine GLuint CondCodes[4]; /**< COND_* value for x/y/z/w */ GLint AddressReg[MAX_PROGRAM_ADDRESS_REGS][4]; - GLuint *Samplers; /** Array mapping sampler var to tex unit */ + const GLubyte *Samplers; /** Array mapping sampler var to tex unit */ GLuint CallStack[MAX_PROGRAM_CALL_DEPTH]; /**< For CAL/RET instructions */ GLuint StackDepth; /**< Index/ptr to top of CallStack[] */