From 71682c1599c3fe0096cccfdbd8eb762cd909fbd8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 May 2013 18:07:11 -0600 Subject: svga: add PIPE_CAP_MAX_VIEWPORTS to switch to silence warning --- src/gallium/drivers/svga/svga_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3