diff options
author | Brian Paul <[email protected]> | 2006-05-23 02:44:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-05-23 02:44:46 +0000 |
commit | d9736db6676948e06712d4bcba46b7040452f870 (patch) | |
tree | 1a348c790bb7a6ccc5b80d0e5cc0e5687f969dfb /src/mesa/drivers | |
parent | f5a2ac95c30b0d4cecc47aeebfb056ec6ac8e511 (diff) |
Add const qualifiers in a number of places.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_tris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c index cef6db7a195..e1a53212a51 100644 --- a/src/mesa/drivers/dri/i915/intel_tris.c +++ b/src/mesa/drivers/dri/i915/intel_tris.c @@ -642,7 +642,7 @@ void intelChooseRenderState(GLcontext *ctx) TNLcontext *tnl = TNL_CONTEXT(ctx); intelContextPtr intel = INTEL_CONTEXT(ctx); GLuint flags = ctx->_TriangleCaps; - struct fragment_program *fprog = ctx->FragmentProgram._Current; + const struct fragment_program *fprog = ctx->FragmentProgram._Current; GLboolean have_wpos = (fprog && (fprog->Base.InputsRead & FRAG_BIT_WPOS)); GLuint index = 0; |