diff options
author | Brian Paul <[email protected]> | 2009-02-20 10:49:30 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-20 11:44:38 -0700 |
commit | 55d33e1fa7d231a0cdfce9b9650ae9e136e6c63c (patch) | |
tree | 6f344774652aba7a3f073aa5055b0b1f0973ffa9 /src/mesa | |
parent | f5674b566e0da9406484cff4249297bd8c6cf445 (diff) |
i965: update comment, use const qualifier
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 4501e0472f6..10f38e02a48 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -183,7 +183,7 @@ static void brw_wm_populate_key( struct brw_context *brw, { GLcontext *ctx = &brw->intel.ctx; /* BRW_NEW_FRAGMENT_PROGRAM */ - struct brw_fragment_program *fp = + const struct brw_fragment_program *fp = (struct brw_fragment_program *)brw->fragment_program; GLuint lookup = 0; GLuint line_aa; @@ -302,10 +302,8 @@ static void brw_wm_populate_key( struct brw_context *brw, key->drawable_height = brw->intel.driDrawable->h; } - /* Extra info: - */ + /* The unique fragment program ID */ key->program_string_id = fp->id; - } |