From a62cd6949cee46096e016ef8249a4a6975d63c4a Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 21 Sep 2013 19:45:08 +0200 Subject: radeon drivers: handle PIPE_CAP_MAX_VIEWPORTS --- src/gallium/drivers/r300/r300_screen.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/r300') diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 125a1b59520..dd036fcd837 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -192,6 +192,9 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) return 4; case PIPE_CAP_ENDIANNESS: return PIPE_ENDIAN_LITTLE; + + case PIPE_CAP_MAX_VIEWPORTS: + return 1; } return 0; } -- cgit v1.2.3