projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965: propagate error from gen_perf_begin_query to glBeginPerfQueryINTEL
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_performance_query.c
diff --git
a/src/mesa/drivers/dri/i965/brw_performance_query.c
b/src/mesa/drivers/dri/i965/brw_performance_query.c
index ab2f200a1faa4784c8d2e44ac39ba19213d1b827..6c74403da6c1ae3912959c9dd7af80f087e52e97 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/
src/mesa/drivers/dri/i965/brw_performance_query.c
@@
-247,12
+247,12
@@
brw_begin_perf_query(struct gl_context *ctx,
DBG("Begin(%d)\n", o->Id);
- gen_perf_begin_query(perf_ctx, obj);
+
bool ret =
gen_perf_begin_query(perf_ctx, obj);
if (INTEL_DEBUG & DEBUG_PERFMON)
dump_perf_queries(brw);
- return
true
;
+ return
ret
;
}
/**