mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-27 08:27:30 +01:00
Add some missing constants to the GL binding
This commit is contained in:
parent
5bf68b5731
commit
f83dab83cf
@ -3146,6 +3146,12 @@ public:
|
||||
static constexpr const GLenum STATE_RESTORE = 0x8BDC;
|
||||
static constexpr const GLenum SHADER_BINARY_VIV = 0x8FC4;
|
||||
|
||||
static constexpr const GLenum ZERO = 0;
|
||||
static constexpr const GLenum ONE = 1;
|
||||
static constexpr const GLenum FALSE = 0;
|
||||
static constexpr const GLenum TRUE = 1;
|
||||
static constexpr const GLenum NONE = 0;
|
||||
static constexpr const GLenum NO_ERROR = 0;
|
||||
};
|
||||
|
||||
//Global GL procedures object.
|
||||
|
@ -397,6 +397,14 @@ f:write( pointers:Concat( "\n" ) );
|
||||
f:write( "\n\n" );
|
||||
f:write( cppConsts:Concat( "\n" ) );
|
||||
f:write( "\n\n" );
|
||||
f:write[[
|
||||
static constexpr const GLenum ZERO = 0;
|
||||
static constexpr const GLenum ONE = 1;
|
||||
static constexpr const GLenum FALSE = 0;
|
||||
static constexpr const GLenum TRUE = 1;
|
||||
static constexpr const GLenum NONE = 0;
|
||||
static constexpr const GLenum NO_ERROR = 0;
|
||||
]];
|
||||
f:write( "};\n" );
|
||||
f:write( "\n//Global GL procedures object.\n" );
|
||||
f:write( "IRRLICHT_API extern OpenGLProcedures GL;\n" );
|
||||
|
Loading…
Reference in New Issue
Block a user