OSDN Git Service

r300g: clean up warning due to unknown cap.
authorDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 22:46:16 +0000 (08:46 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Oct 2010 22:46:16 +0000 (08:46 +1000)
src/gallium/drivers/r300/r300_screen.c

index 7f41ff0..b448924 100644 (file)
@@ -124,6 +124,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_INDEP_BLEND_FUNC:
         case PIPE_CAP_DEPTH_CLAMP: /* XXX implemented, but breaks Regnum Online */
         case PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE:
+        case PIPE_CAP_SHADER_STENCIL_EXPORT:
             return 0;
 
         /* Texturing. */