summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.h
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-11-07 13:37:11 +0100
committerErik Faye-Lund <[email protected]>2018-11-23 10:48:36 +0100
commitb551fe5fa7e032ea93565a8a9a8bee9a344822cd (patch)
treedc612dca660e1b3b93f634306d5d8720ac570ccc /src/mesa/main/points.h
parent059928e114f15ff3d1c77e8eb7d7aba4d322d69d (diff)
mesa/main: fix validation of GL_TIME_ELAPSED
ctx->Extensions.EXT_timer_query is set based on the driver- capabilities, not based on the context type. We need to check against _mesa_has_EXT_timer_query(ctx) instead to figure out if the extension is really supported. We also need to check for EXT_disjoint_timer_query, which enables the same functionality for ES. This turns usage of GL_TIME_ELAPSED into an error on ES 3, as is required by the spec. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main/points.h')
0 files changed, 0 insertions, 0 deletions