diff options
author | Erik Faye-Lund <[email protected]> | 2018-11-07 16:00:59 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-11-23 10:48:36 +0100 |
commit | 75e39b59dc3b2222b5611b516ef4d8ea7f8d14f9 (patch) | |
tree | b377fa6e597b50b4ecbf3d3872ff9350985b184a /src/mesa/main/objectlabel.h | |
parent | f09d94fbd113f6fd0e9583b6c21826281c39ea97 (diff) |
mesa/main: fix validation of transform-feedback overflow queries
ctx->Extensions.ARB_transform_feedback_overflow_query is set based on
the driver-capabilities, not based on the context type. We need to
check against _mesa_has_RB_transform_feedback_overflow_query(ctx)
instead to figure out if the extension is really supported.
This turns usage of GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW and
GL_TRANSFORM_FEEDBACK_OVERFLOW into errors on ES 3, as 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/objectlabel.h')
0 files changed, 0 insertions, 0 deletions