Fix cli opengl context version (#15745)

Co-authored-by: chris <basque-estate.0b@icloud.com>
Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
authored and GitHub committed 2026-09-28 15:33:21 -03:00
1 parent d35ea27ea5
commit 45bc39a47a
2 files changed
+17 -6

No files matched your search

+1 -1
View File
@@ -286,7 +286,7 @@ bool OpenGLManager::init_gl(bool popup_error)
bool valid_version = s_gl_info.is_version_greater_or_equal_to(2, 0);
if (!valid_version) {
BOOST_LOG_TRIVIAL(error) << "Found opengl version <= 3.2"<< std::endl;
BOOST_LOG_TRIVIAL(error) << "Found opengl version < 2.0"<< std::endl;
// Complain about the OpenGL version.
if (popup_error) {
wxString message = from_u8((boost::format(