summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-11-07 13:45:17 +0100
committerErik Faye-Lund <[email protected]>2018-11-23 10:48:36 +0100
commit7a4d74c35abec0f8c9c2b8c0d810035582db2dc8 (patch)
treee524af6931cae4e3663baca92df975cd87b0da70 /src/mesa/main/teximage.h
parent75e39b59dc3b2222b5611b516ef4d8ea7f8d14f9 (diff)
mesa/main: fix validation of ARB_query_buffer_object
ctx->Extensions.ARB_query_buffer_object is set based on the driver- capabilities, not based on the context type. We need to check against _mesa_has_ARB_query_buffer_object(ctx) instead to figure out if the extension is really supported. This turns attempts to read queries into buffer objects on ES 3 into errors, 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/teximage.h')
0 files changed, 0 insertions, 0 deletions