mirror of
https://github.com/minetest/irrlicht.git
synced 2025-08-14 05:10:35 +02:00
OpenGL3: Refuse 3.0 and 3.1
This commit is contained in:
@ -29,6 +29,8 @@ namespace video {
|
|||||||
void COpenGL3Driver::initFeatures() {
|
void COpenGL3Driver::initFeatures() {
|
||||||
assert (Version.Spec == OpenGLSpec::Compat);
|
assert (Version.Spec == OpenGLSpec::Compat);
|
||||||
assert (Version.Major >= 3);
|
assert (Version.Major >= 3);
|
||||||
|
if (Version.Major == 3)
|
||||||
|
assert (Version.Minor >= 2);
|
||||||
initExtensionsNew();
|
initExtensionsNew();
|
||||||
|
|
||||||
// COGLESCoreExtensionHandler::Feature
|
// COGLESCoreExtensionHandler::Feature
|
||||||
|
Reference in New Issue
Block a user