mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 06:20:21 +02:00
OpenGL3: Version asserts
This commit is contained in:
@ -23,6 +23,7 @@ namespace video {
|
||||
}
|
||||
|
||||
void COpenGLES2Driver::initFeatures() {
|
||||
assert (Version.Spec == OpenGLSpec::ES);
|
||||
assert (Version.Major >= 2);
|
||||
if (Version.Major >= 3)
|
||||
initExtensionsNew();
|
||||
|
Reference in New Issue
Block a user