diff options
author | Mathias Fröhlich <[email protected]> | 2010-05-17 11:48:56 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2010-05-17 12:05:18 -0700 |
commit | cdbd5f4203391ee7eb12911bc86fea34dc61c957 (patch) | |
tree | d0a787749ab03816bd140f08bf63d5ebdd352814 /src/mesa/state_tracker/st_extensions.c | |
parent | fea91ee22d468bf2b66aaba9e7b509d30914a110 (diff) |
gallium: EXT_timer_query support.
Signed-off-by: Corbin Simpson <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 0cd80fa59f7..459e924cca3 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -296,6 +296,9 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_OCCLUSION_QUERY)) { ctx->Extensions.ARB_occlusion_query = GL_TRUE; } + if (screen->get_param(screen, PIPE_CAP_TIMER_QUERY)) { + ctx->Extensions.EXT_timer_query = GL_TRUE; + } if (screen->get_param(screen, PIPE_CAP_TEXTURE_SHADOW_MAP)) { ctx->Extensions.ARB_depth_texture = GL_TRUE; |