diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2012-12-09 09:50:34 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-12-20 16:33:49 +0000 |
commit | 9976216bf699be092e14b66ba3a3ecfa3859e87f (patch) | |
tree | e3b018711bb0e9ea344a98313dae179bb71dbb74 /src/gallium/drivers/galahad | |
parent | ef11ed61a0414d0405c3faf7f48fa3f1d083f82e (diff) |
gallium: s/PIPE_CAP_TIMER_QUERY/PIPE_CAP_QUERY_TIME_ELAPSED/
To better reflect what it is being advertised.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/galahad')
-rw-r--r-- | src/gallium/drivers/galahad/glhd_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/galahad/glhd_context.c b/src/gallium/drivers/galahad/glhd_context.c index ac666d45aa9..151c8f48f5e 100644 --- a/src/gallium/drivers/galahad/glhd_context.c +++ b/src/gallium/drivers/galahad/glhd_context.c @@ -74,7 +74,7 @@ galahad_context_create_query(struct pipe_context *_pipe, } if (query_type == PIPE_QUERY_TIME_ELAPSED && - !pipe->screen->get_param(pipe->screen, PIPE_CAP_TIMER_QUERY)) { + !pipe->screen->get_param(pipe->screen, PIPE_CAP_QUERY_TIME_ELAPSED)) { glhd_error("Timer query requested but not supported"); } |