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.
Pick-to: 6.1 5.15
Change-Id: Ibc8af9f7c402b055c5391ad673b815c1fb65a40a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
| commit | 0157b93098fb5339cfe8fe99a111cf6e6f047565 |
| parent | 5152bc2392df7807d7bcad98d04b04248b6e887e |
| author | Mauro Persano <mauro.persano@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Mon, 3 May 2021 05:32:15 +0000 |