summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index bf66168232a..fa762262d00 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -292,10 +292,9 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return 1;
/* Timer queries. */
- case PIPE_CAP_OCCLUSION_QUERY: /* Not implemented - fake it for OpenGL2 */
- return 1;
-
case PIPE_CAP_QUERY_TIME_ELAPSED:
+ case PIPE_CAP_OCCLUSION_QUERY:
+ return 0;
case PIPE_CAP_QUERY_TIMESTAMP:
return 1;
case PIPE_CAP_QUERY_PIPELINE_STATISTICS: