Mesa (master): r300g: Fix typo.

Corbin Simpson csimpson at kemper.freedesktop.org
Wed Feb 10 20:37:26 UTC 2010


Module: Mesa
Branch: master
Commit: 412ffb7a3ab8c0174aa921a4a10af3eaa03648da
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=412ffb7a3ab8c0174aa921a4a10af3eaa03648da

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed Feb 10 01:39:21 2010 -0800

r300g: Fix typo.

Thanks to Uros Bizjak for catching it.

---

 src/gallium/drivers/r300/r300_state.c |    2 +-
 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 5fe9285..99ecae9 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);




More information about the mesa-commit mailing list