summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-02-09 13:50:54 -0800
committerCorbin Simpson <[email protected]>2010-02-09 13:50:54 -0800
commit67b60b99348f50ead92e617a5085422da9d8c022 (patch)
tree5dfc8323e525590c1b0253e19b7c05764cec8ca9 /src/gallium/drivers/r300/r300_screen.c
parent5a27a77d009b44dcd2eb35c3b66bd88cf5005d24 (diff)
r300g: Correct colorbuffer measurements.
Also clarify changes from pointminmax.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index da4ec542ade..13cd04a80cc 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -186,8 +186,10 @@ static float r300_get_paramf(struct pipe_screen* pscreen, int param)
* rendering limits. 2048 pixels should be enough for anybody. */
if (r300screen->caps->is_r500) {
return 4096.0f;
+ } else if (r300screen->caps->is_r400) {
+ return 4021.0f;
} else {
- return 2048.0f;
+ return 2560.0f;
}
case PIPE_CAP_MAX_TEXTURE_ANISOTROPY:
return 16.0f;