summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorRobert Bragg <[email protected]>2017-02-23 11:16:50 +0000
committerRobert Bragg <[email protected]>2017-02-24 17:16:11 +0000
commitd1bb7895b98692e2c1932cd73e24816a4ac560b1 (patch)
treef638481f2e5b0a1d7c501818bfc9c15682de756a /src/mesa/drivers/dri
parent1534fc6d10509a443700a05923ab3f55eae1fd53 (diff)
main/performance_query: s/GLboolean/bool/
Ideally would have caught these when adding the interface but this just switches a few return types for the INTEL_performance_query backend interface to bool instead of GLboolean. Signed-off-by: Robert Bragg <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c
index 46847bef53d..6cd5bf4caa5 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
@@ -202,7 +202,7 @@ snapshot_statistics_registers(struct brw_context *brw,
/**
* Driver hook for glBeginPerfQueryINTEL().
*/
-static GLboolean
+static bool
brw_begin_perf_query(struct gl_context *ctx,
struct gl_perf_query_object *o)
{
@@ -351,7 +351,7 @@ brw_wait_perf_query(struct gl_context *ctx, struct gl_perf_query_object *o)
drm_intel_bo_wait_rendering(bo);
}
-static GLboolean
+static bool
brw_is_perf_query_ready(struct gl_context *ctx,
struct gl_perf_query_object *o)
{