summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_flush.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-03-02 17:51:19 +0100
committerMarek Olšák <maraeo@gmail.com>2011-03-02 17:54:36 +0100
commita6314eb47f0c916c51362dfbd0f1db21e72745ee (patch)
treec4cd3752f0487d879e6d1ef2483b82e215ffc87b /src/gallium/drivers/r300/r300_flush.c
parentf6dbcb92bf4a3597c7b3da890ffafc84951f25df (diff)
downloadexternal_mesa3d-a6314eb47f0c916c51362dfbd0f1db21e72745ee.zip
external_mesa3d-a6314eb47f0c916c51362dfbd0f1db21e72745ee.tar.gz
external_mesa3d-a6314eb47f0c916c51362dfbd0f1db21e72745ee.tar.bz2
r300g: require DRM 2.3.0 (kernel 2.6.34)
Running any older kernel is not recommended anyway.
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index c77cc08..9c41a13 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -57,7 +57,7 @@ static void r300_flush(struct pipe_context* pipe,
if (r300->dirty_hw) {
r300_emit_hyperz_end(r300);
r300_emit_query_end(r300);
- if (r300->screen->caps.index_bias_supported)
+ if (r300->screen->caps.is_r500)
r500_emit_index_bias(r300, 0);
r300->flush_counter++;