From bba6957da3a8832f8514f1bc4e26b36ed89a6172 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 5 Apr 2010 07:01:52 +0200 Subject: [PATCH] r300g: enable OpenGL 2.1 on r3xx-r4xx chipsets --- src/gallium/drivers/r300/r300_screen.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index b52850674f6..894a8c28c21 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. * -- 2.30.2