From 9d29d48bb05907180881340862e2ebcd271af63d Mon Sep 17 00:00:00 2001 From: Stéphane Marchesin Date: Sun, 26 Jun 2011 19:38:12 -0700 Subject: i915g: Return the max result for the fake occlusion queries. --- src/gallium/drivers/i915/i915_query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/i915/i915_query.c b/src/gallium/drivers/i915/i915_query.c index 77ed946c5c5..c886df74bad 100644 --- a/src/gallium/drivers/i915/i915_query.c +++ b/src/gallium/drivers/i915/i915_query.c @@ -69,7 +69,8 @@ static boolean i915_get_query_result(struct pipe_context *ctx, { uint64_t *result = (uint64_t*)vresult; - *result = 0; + /* 2* viewport Max */ + *result = 512*1024*1024; return TRUE; } -- cgit v1.2.3