diff options
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_query_sw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_query_sw.c b/src/gallium/drivers/etnaviv/etnaviv_query_sw.c index f955d8e2106..bec8d0d588a 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_query_sw.c +++ b/src/gallium/drivers/etnaviv/etnaviv_query_sw.c @@ -145,7 +145,7 @@ etna_sw_get_driver_query_group_info(struct pipe_screen *pscreen, struct pipe_driver_query_group_info *info) { if (!info) - return ARRAY_SIZE(list); + return 1; if (index != 0) return 0; |