summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-26 17:41:42 +0200
committerMarek Olšák <[email protected]>2010-06-26 17:43:58 +0200
commit5acdfdbf42a00352972f0f9cdd06188d0630b3dc (patch)
tree358b83ff1a2fcfea4a547f12790ac93a7e61e4e1 /src/gallium/drivers/r300/r300_context.c
parentf39800b33908180fcf60a80c367525aef869b929 (diff)
r300g: update my notes about fastfill and zbuffer compression
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 46d1ed9dbff..4e3be077d78 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -151,7 +151,7 @@ static void r300_setup_atoms(struct r300_context* r300)
R300_INIT_ATOM(query_start, 4);
/* Replace emission functions for r500. */
- if (r300->screen->caps.is_r500) {
+ if (is_r500) {
r300->fs.emit = r500_emit_fs;
r300->fs_rc_constant_state.emit = r500_emit_fs_rc_constant_state;
r300->fs_constants.emit = r500_emit_fs_constants;