From 5f88555ed362fb1678074b1ae7e5352096cf5ef2 Mon Sep 17 00:00:00 2001 From: numzero Date: Sat, 15 Apr 2023 18:17:45 +0300 Subject: [PATCH] OpenGL3: restore MRT support --- source/Irrlicht/OpenGL/ExtensionHandler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Irrlicht/OpenGL/ExtensionHandler.h b/source/Irrlicht/OpenGL/ExtensionHandler.h index e19a3bf..fcf771e 100644 --- a/source/Irrlicht/OpenGL/ExtensionHandler.h +++ b/source/Irrlicht/OpenGL/ExtensionHandler.h @@ -145,10 +145,12 @@ namespace video inline void irrGlDrawBuffer(GLenum mode) { + glDrawBuffer(mode); } inline void irrGlDrawBuffers(GLsizei n, const GLenum *bufs) { + glDrawBuffers(n, bufs); } inline void irrGlBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)