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:
Emmanuele Bassi
2015-01-28 12:31:36 +00:00
parent 4c091db6c2
commit f7497daee9
3 changed files with 3 additions and 4 deletions

View File

@ -1195,7 +1195,7 @@ gdk_x11_window_create_gl_context (GdkWindow *window,
/* GDK_GL_PROFILE_DEFAULT is currently equivalent to the LEGACY profile */
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)))
{