Fix invalid glDrawBuffer call on GLES

closes #14445
This commit is contained in:
sfan5 2024-05-11 11:36:47 +02:00
parent 0889048cb5
commit 472742266b

@ -138,7 +138,8 @@ public:
inline void irrGlDrawBuffer(GLenum mode)
{
GL.DrawBuffer(mode);
// GLES only has DrawBuffers, so use that
GL.DrawBuffers(1, &mode);
}
inline void irrGlDrawBuffers(GLsizei n, const GLenum *bufs)