Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
Instead of LEGACY. https://bugzilla.gnome.org/show_bug.cgi?id=741946
This commit is contained in:
@ -368,7 +368,7 @@ gdk_wayland_window_create_gl_context (GdkWindow *window,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (profile == GDK_GL_PROFILE_DEFAULT)
|
if (profile == GDK_GL_PROFILE_DEFAULT)
|
||||||
profile = GDK_GL_PROFILE_LEGACY;
|
profile = GDK_GL_PROFILE_3_2_CORE;
|
||||||
|
|
||||||
if (profile == GDK_GL_PROFILE_3_2_CORE &&
|
if (profile == GDK_GL_PROFILE_3_2_CORE &&
|
||||||
!display_wayland->have_egl_khr_create_context)
|
!display_wayland->have_egl_khr_create_context)
|
||||||
|
|||||||
@ -488,9 +488,8 @@ _gdk_win32_gl_context_realize (GdkGLContext *context,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* GDK_GL_PROFILE_DEFAULT is the same as GDK_GL_PROFILE_LEGACY for now */
|
|
||||||
if (profile == GDK_GL_PROFILE_DEFAULT)
|
if (profile == GDK_GL_PROFILE_DEFAULT)
|
||||||
profile = GDK_GL_PROFILE_LEGACY;
|
profile = GDK_GL_PROFILE_3_2_CORE;
|
||||||
|
|
||||||
if (profile == GDK_GL_PROFILE_3_2_CORE)
|
if (profile == GDK_GL_PROFILE_3_2_CORE)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1195,7 +1195,7 @@ gdk_x11_window_create_gl_context (GdkWindow *window,
|
|||||||
|
|
||||||
/* GDK_GL_PROFILE_DEFAULT is currently equivalent to the LEGACY profile */
|
/* GDK_GL_PROFILE_DEFAULT is currently equivalent to the LEGACY profile */
|
||||||
if (profile == GDK_GL_PROFILE_DEFAULT)
|
if (profile == GDK_GL_PROFILE_DEFAULT)
|
||||||
profile = GDK_GL_PROFILE_LEGACY;
|
profile = GDK_GL_PROFILE_3_2_CORE;
|
||||||
|
|
||||||
if (!gdk_x11_screen_init_gl (gdk_window_get_screen (window)))
|
if (!gdk_x11_screen_init_gl (gdk_window_get_screen (window)))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user