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>
commit0157b93098fb5339cfe8fe99a111cf6e6f047565
parent5152bc2392df7807d7bcad98d04b04248b6e887e
authorMauro Persano <mauro.persano@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeMon, 3 May 2021 05:32:15 +0000