From: Corbin Simpson Date: Wed, 10 Feb 2010 09:39:21 +0000 (-0800) Subject: r300g: Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=412ffb7a3ab8c0174aa921a4a10af3eaa03648da;p=mesa.git r300g: Fix typo. Thanks to Uros Bizjak for catching it. --- 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);