summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-05-29 18:07:11 -0600
committerBrian Paul <[email protected]>2013-05-29 18:07:11 -0600
commit71682c1599c3fe0096cccfdbd8eb762cd909fbd8 (patch)
tree56d05a60c0a5de60df10ec952341a7b5c43cbd98
parentc08baef508a109cdd49d2ebbc2cd0a8cc94117d3 (diff)
svga: add PIPE_CAP_MAX_VIEWPORTS to switch to silence warning
-rw-r--r--src/gallium/drivers/svga/svga_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index cdd462e8d9a..826a9a926d3 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -269,6 +269,8 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 0;
case PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY:
return 1;
+ case PIPE_CAP_MAX_VIEWPORTS:
+ return 1;
}
debug_printf("Unexpected PIPE_CAP_ query %u\n", param);