summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-02-10 01:39:21 -0800
committerCorbin Simpson <[email protected]>2010-02-10 12:35:39 -0800
commit412ffb7a3ab8c0174aa921a4a10af3eaa03648da (patch)
tree19d2215556f7550e53c3ebf90f4f65ae371baef1 /src
parent92ea8834d826eb6986112b5c2e0b530522d00530 (diff)
r300g: Fix typo.
Thanks to Uros Bizjak for catching it.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index 5fe9285a4b2..99ecae9f5f8 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -651,7 +651,7 @@ static void* r300_create_rs_state(struct pipe_context* pipe,
rs->point_minmax =
((int)(0.0 * 6.0) << R300_GA_POINT_MINMAX_MIN_SHIFT) |
((int)(4096.0 * 6.0) << R300_GA_POINT_MINMAX_MAX_SHIFT);
- } else if (r300screen->caps->is_r500) {
+ } else if (r300screen->caps->is_r400) {
rs->point_minmax =
((int)(0.0 * 6.0) << R300_GA_POINT_MINMAX_MIN_SHIFT) |
((int)(4021.0 * 6.0) << R300_GA_POINT_MINMAX_MAX_SHIFT);