summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-04-05 07:01:52 +0200
committerMarek Olšák <maraeo@gmail.com>2010-04-05 07:09:46 +0200
commitbba6957da3a8832f8514f1bc4e26b36ed89a6172 (patch)
treee65c2a9b16853aa8a944bf359a28bccae31f6803 /src/gallium/drivers/r300/r300_screen.c
parenta955f86b31304a1a0f35faa0e0861e920354e23b (diff)
r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index b52850674f..894a8c28c2 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -88,11 +88,7 @@ static int r300_get_param(struct pipe_screen* pscreen, int param)
* figure out later how to emulate this */
return 1;
case PIPE_CAP_TWO_SIDED_STENCIL:
- if (r300screen->caps.is_r500) {
- return 1;
- } else {
- return 0;
- }
+ return 1;
case PIPE_CAP_GLSL:
/* I'll be frank. This is a lie.
*