Mesa (master): r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets

Marek Olšák mareko at kemper.freedesktop.org
Mon Apr 5 05:10:13 UTC 2010


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

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Apr  5 07:01:52 2010 +0200

r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets

---

 src/gallium/drivers/r300/r300_screen.c |    6 +-----
 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 b528506..894a8c2 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.
              *




More information about the mesa-commit mailing list