aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhecks <42101236+hecktest@users.noreply.github.com>2021-08-07 22:50:13 +0200
committerhecks <42101236+hecktest@users.noreply.github.com>2021-08-07 22:50:13 +0200
commitda22e5d7c04bccc9bbe86db0a4e7c8f9cf5f22e5 (patch)
tree304e108dac01d0786312577d9c1acb707f93b9b5
parentf83dab83cf691014f5953a8418b799cfcc0c4301 (diff)
downloadirrlicht-da22e5d7c04bccc9bbe86db0a4e7c8f9cf5f22e5.tar.xz
Remove redundant and troublesome constants from the GL binding
-rwxr-xr-xinclude/mt_opengl.h3
-rwxr-xr-xscripts/BindingGenerator.lua3
2 files changed, 0 insertions, 6 deletions
diff --git a/include/mt_opengl.h b/include/mt_opengl.h
index 9a4cec4..e7876cf 100755
--- a/include/mt_opengl.h
+++ b/include/mt_opengl.h
@@ -3148,10 +3148,7 @@ public:
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.
diff --git a/scripts/BindingGenerator.lua b/scripts/BindingGenerator.lua
index 624c21c..0774cdd 100755
--- a/scripts/BindingGenerator.lua
+++ b/scripts/BindingGenerator.lua
@@ -400,10 +400,7 @@ 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" );