r300g: Fix typo.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 10 Feb 2010 09:39:21 +0000 (01:39 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 10 Feb 2010 20:35:39 +0000 (12:35 -0800)
Thanks to Uros Bizjak for catching it.

src/gallium/drivers/r300/r300_state.c

index 5fe9285a4b2fb6aa33fb36718bb2a4b9d49bbc56..99ecae9f5f894c78c2cda1e22aab171c942702cc 100644 (file)
@@ -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);