mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-06 20:49:24 +01:00
OpenGL3: Use DrawBuffer[s] from mt_opengl
This commit is contained in:
parent
44f7c22bbf
commit
13680ef42d
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "EDriverFeatures.h"
|
||||
#include "irrTypes.h"
|
||||
#include "os.h"
|
||||
#include <mt_opengl.h>
|
||||
|
||||
#include "Common.h"
|
||||
|
||||
|
@ -141,12 +142,12 @@ namespace video
|
|||
|
||||
inline void irrGlDrawBuffer(GLenum mode)
|
||||
{
|
||||
glDrawBuffer(mode);
|
||||
GL.DrawBuffer(mode);
|
||||
}
|
||||
|
||||
inline void irrGlDrawBuffers(GLsizei n, const GLenum *bufs)
|
||||
{
|
||||
glDrawBuffers(n, bufs);
|
||||
GL.DrawBuffers(n, bufs);
|
||||
}
|
||||
|
||||
inline void irrGlBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
|
||||
|
|
Loading…
Add table
Reference in a new issue