summaryrefslogtreecommitdiffstats
path: root/usecases
diff options
context:
space:
mode:
authorMauro Persano <mauro.persano@kdab.com>2021-04-30 16:37:06 -0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-05-03 07:25:48 +0000
commit40b3a441ceb9d766a024e85db78bbe3d96f3a896 (patch)
treeccd711450ecfe4da329626a7e948164098d74a25 /usecases
parent6e4e2c9864364a753e986a5c9024fbb0496cb1e3 (diff)
Fix call to drawBuffers in SubmissionContext
Implementations of GraphicsHelperInterface::drawBuffers expect an array of zero-based attachment point indexes (GL_COLOR_ATTACHMENT0 is added to the indexes internally), so we can't convert the attachment index to an OpenGL enum before calling drawBuffers. Change-Id: Ibc8af9f7c402b055c5391ad673b815c1fb65a40a Reviewed-by: Paul Lemire <paul.lemire@kdab.com> (cherry picked from commit 0157b93098fb5339cfe8fe99a111cf6e6f047565) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'usecases')
0 files changed, 0 insertions, 0 deletions