diff --git a/src/gl/system/gl_interface.cpp b/src/gl/system/gl_interface.cpp index 7ec1174eb..8dcb1786d 100644 --- a/src/gl/system/gl_interface.cpp +++ b/src/gl/system/gl_interface.cpp @@ -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); }