forked from Mirrorlandia_minetest/irrlicht
Remove redundant and troublesome constants from the GL binding
This commit is contained in:
parent
f83dab83cf
commit
da22e5d7c0
@ -3148,10 +3148,7 @@ public:
|
|||||||
|
|
||||||
static constexpr const GLenum ZERO = 0;
|
static constexpr const GLenum ZERO = 0;
|
||||||
static constexpr const GLenum ONE = 1;
|
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 NONE = 0;
|
||||||
static constexpr const GLenum NO_ERROR = 0;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//Global GL procedures object.
|
//Global GL procedures object.
|
||||||
|
@ -400,10 +400,7 @@ f:write( "\n\n" );
|
|||||||
f:write[[
|
f:write[[
|
||||||
static constexpr const GLenum ZERO = 0;
|
static constexpr const GLenum ZERO = 0;
|
||||||
static constexpr const GLenum ONE = 1;
|
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 NONE = 0;
|
||||||
static constexpr const GLenum NO_ERROR = 0;
|
|
||||||
]];
|
]];
|
||||||
f:write( "};\n" );
|
f:write( "};\n" );
|
||||||
f:write( "\n//Global GL procedures object.\n" );
|
f:write( "\n//Global GL procedures object.\n" );
|
||||||
|
Loading…
Reference in New Issue
Block a user