diff options
author | Stéphane Marchesin <[email protected]> | 2011-06-24 17:18:12 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-06-24 17:28:54 -0700 |
commit | 7b44830ef40b6d4644c3f55189ed2457e6822428 (patch) | |
tree | 6d5c6e148e0f0a781152c18f3bc53322de5d9c1f /src/gallium/drivers/i915/i915_context.c | |
parent | 3a7953910a7c3babebd6479bbefe9a1032bd8299 (diff) |
i915g: add fake occlusion queries.
Those always return 0, but at least we don't crash when exposing GL 2.0.
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index ab4ea9a412e..6d2e10470cf 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -29,6 +29,7 @@ #include "i915_state.h" #include "i915_screen.h" #include "i915_surface.h" +#include "i915_query.h" #include "i915_batch.h" #include "i915_resource.h" @@ -172,6 +173,7 @@ i915_create_context(struct pipe_screen *screen, void *priv) i915_init_state_functions(i915); i915_init_flush_functions(i915); i915_init_resource_functions(i915); + i915_init_query_functions(i915); draw_install_aaline_stage(i915->draw, &i915->base); draw_install_aapoint_stage(i915->draw, &i915->base); |