i915g: Return the max result for the fake occlusion queries.

This commit is contained in:
Stéphane Marchesin
2011-06-26 19:38:12 -07:00
parent b13865e694
commit 9d29d48bb0
+2 -1
View File
@@ -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;
}