forked from Mirrorlandia_minetest/irrlicht
OpenGL3: Use DrawBuffer[s] from mt_opengl
This commit is contained in:
parent
44f7c22bbf
commit
13680ef42d
@ -9,6 +9,7 @@
|
|||||||
#include "EDriverFeatures.h"
|
#include "EDriverFeatures.h"
|
||||||
#include "irrTypes.h"
|
#include "irrTypes.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
#include <mt_opengl.h>
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
|
|
||||||
@ -141,12 +142,12 @@ namespace video
|
|||||||
|
|
||||||
inline void irrGlDrawBuffer(GLenum mode)
|
inline void irrGlDrawBuffer(GLenum mode)
|
||||||
{
|
{
|
||||||
glDrawBuffer(mode);
|
GL.DrawBuffer(mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void irrGlDrawBuffers(GLsizei n, const GLenum *bufs)
|
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)
|
inline void irrGlBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
|
||||||
|
Loading…
Reference in New Issue
Block a user