mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
heh, fixed bug in glx_is_at_least_version. 2.0 > 1.1
This commit is contained in:
parent
124942a13b
commit
35e4335e53
@ -538,6 +538,9 @@ glx_is_at_least_version(int major_version, int minor_version) const {
|
|||||||
if (_glx_version_major < major_version) {
|
if (_glx_version_major < major_version) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (_glx_version_major > major_version) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (_glx_version_minor < minor_version) {
|
if (_glx_version_minor < minor_version) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user