mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-25 23:47:30 +01:00
OpenGL3: Use DrawBuffer[s] from mt_opengl
This commit is contained in:
parent
44f7c22bbf
commit
13680ef42d
@ -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…
Reference in New Issue
Block a user