fix type for Samplers field
authorBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 18:01:08 +0000 (12:01 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 31 Oct 2007 18:02:55 +0000 (12:02 -0600)
src/mesa/shader/prog_execute.h

index db7bcee5165834175e8aa1be59d41756fd948ff8..af77d4278bb6bebd8e4230825515664925c2daff 100644 (file)
@@ -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[] */