r600g: fix PIPE_CAP_INSTANCED_DRAWING warning
authorChristian König <deathsimple@vodafone.de>
Sun, 16 Jan 2011 22:52:53 +0000 (23:52 +0100)
committerChristian König <deathsimple@vodafone.de>
Sun, 16 Jan 2011 22:52:53 +0000 (23:52 +0100)
src/gallium/drivers/r600/r600_pipe.c

index 20838e4d98ffbda18928e7dea2cfd7a22ae9543d..53d2c10c5604ac89c11be6041e6d4109fe7092cd 100644 (file)
@@ -287,6 +287,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_STREAM_OUTPUT:
        case PIPE_CAP_PRIMITIVE_RESTART:
        case PIPE_CAP_INDEP_BLEND_FUNC: /* FIXME allow this */
+       case PIPE_CAP_INSTANCED_DRAWING:
                return 0;
 
        /* Texturing. */