diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-07 13:45:01 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-11-23 10:48:36 +0100 |
commit | d52be6dd29ad465ec6cad9afabf9525834878f80 (patch) | |
tree | 34fad38ae933dc38c7d3101df05bb8f2f45c1987 /scons | |
parent | 7a4d74c35abec0f8c9c2b8c0d810035582db2dc8 (diff) |
mesa/main: fix validation of GL_TIMESTAMP
ctx->Extensions.ARB_timer_query is set based on the driver-
capabilities, not based on the context type. We need to check
against _mesa_has_ARB_timer_query(ctx) instead to figure out
if the extension is really supported. We also need to check for
EXT_disjoint_timer_query for GLES-support.
This shouln't have any functional effect, as this entry-point is only
valid on desktop GL, or on GLES with EXT_disjoint_timer_query in the
first place. But if this gets added to the core of a future version
of ES, this should be a step in the right direction.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions