mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-23 03:41:03 +00:00
- Fixed -glversion 3 was not being promoted to 3.3.
This commit is contained in:
parent
4915758586
commit
abd1d710cd
1 changed files with 5 additions and 1 deletions
|
@ -157,7 +157,11 @@ void gl_LoadExtensions()
|
|||
else
|
||||
{
|
||||
double v1 = strtod(version, NULL);
|
||||
if (v1 >= 3.0 && v1 < 3.3) v1 = 3.3; // promote '3' to 3.3 to avoid falling back to the legacy path.
|
||||
if (v1 >= 3.0 && v1 < 3.3) // promote '3' to 3.3 to avoid falling back to the legacy path.
|
||||
{
|
||||
v1 = 3.3;
|
||||
version = "3.3";
|
||||
}
|
||||
if (realglversion < v1) version = glversion;
|
||||
else Printf("Emulating OpenGL v %s\n", version);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue