diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-01-06 17:13:45 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-06 17:13:45 -0800 |
commit | 62db3cc34982d2fec9165633813ef6e656f7d497 (patch) | |
tree | 29c4abaa9c36dd8fe6c18147dce7c3383bc28164 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 9311c29558156859c6b26389c1b20a25d361d39d (diff) |
Various warning fixes for i965 driver.
vertex/fragment programs provided as const.
bmSetFenceLock should return bmSetFence value.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index cac4d86d3a..9ee81b8725 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -505,8 +505,8 @@ struct brw_context /* Active vertex program: */ - struct gl_vertex_program *vertex_program; - struct gl_fragment_program *fragment_program; + const struct gl_vertex_program *vertex_program; + const struct gl_fragment_program *fragment_program; /* For populating the gtt: |