r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets
authorMarek Olšák <maraeo@gmail.com>
Mon, 5 Apr 2010 05:01:52 +0000 (07:01 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 5 Apr 2010 05:09:46 +0000 (07:09 +0200)
src/gallium/drivers/r300/r300_screen.c

index b52850674f68e6bc656497a90da50a3c7a82c10c..894a8c28c216ea5b001bb1bdbd4bb25e167ba5ed 100644 (file)
@@ -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.
              *