projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5674b5
)
i965: update comment, use const qualifier
author
Brian Paul
<brianp@vmware.com>
Fri, 20 Feb 2009 17:49:30 +0000
(10:49 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 20 Feb 2009 18:44:38 +0000
(11:44 -0700)
src/mesa/drivers/dri/i965/brw_wm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm.c
b/src/mesa/drivers/dri/i965/brw_wm.c
index 4501e0472f6fbb59727e0fb90c027c58db7ae51b..10f38e02a4836706eca526cc44a914b0a5251e8c 100644
(file)
--- 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;
-
}