r300g: handle PIPE_CAP_INSTANCED_DRAWING in get_param
authorMarek Olšák <maraeo@gmail.com>
Mon, 24 Jan 2011 10:39:28 +0000 (11:39 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 24 Jan 2011 10:40:26 +0000 (11:40 +0100)
src/gallium/drivers/r300/r300_screen.c

index 37b8bc6440f655667fd3f74876d813c014b504ea..a8ba9c1e5fae5eb03e86658e879cd3c60bd91cd6 100644 (file)
@@ -126,6 +126,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
         case PIPE_CAP_SHADER_STENCIL_EXPORT:
         case PIPE_CAP_STREAM_OUTPUT:
         case PIPE_CAP_PRIMITIVE_RESTART:
+        case PIPE_CAP_INSTANCED_DRAWING:
             return 0;
 
         /* Texturing. */