Merge branch 'context-version' into 'main'

gpu: Print actually checked GLES version

See merge request GNOME/gtk!6860
This commit is contained in:
Matthias Clasen 2024-02-08 18:37:29 +00:00
commit bfdd738d0b

View File

@ -242,7 +242,7 @@ gsk_gl_device_get_for_display (GdkDisplay *display,
if (!gdk_gl_context_check_version (context, "3.0", "3.0"))
{
g_set_error (error, GDK_GL_ERROR, GDK_GL_ERROR_NOT_AVAILABLE,
_("OpenGL ES 2.0 is not supported by this renderer."));
_("OpenGL ES 3.0 is not supported by this renderer."));
return NULL;
}