[gtk+/wip/ebassi/gl-context-realize: 5/12] Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ebassi/gl-context-realize: 5/12] Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
- Date: Thu, 5 Feb 2015 16:41:36 +0000 (UTC)
commit f94ff259531c8286c3476cb3a08acd462332075d
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jan 28 12:31:36 2015 +0000
Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
Instead of LEGACY.
gdk/wayland/gdkglcontext-wayland.c | 2 +-
gdk/x11/gdkglcontext-x11.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/wayland/gdkglcontext-wayland.c b/gdk/wayland/gdkglcontext-wayland.c
index 88d3223..fbdb02a 100644
--- a/gdk/wayland/gdkglcontext-wayland.c
+++ b/gdk/wayland/gdkglcontext-wayland.c
@@ -368,7 +368,7 @@ gdk_wayland_window_create_gl_context (GdkWindow *window,
}
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 &&
!display_wayland->have_egl_khr_create_context)
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index 0e56350..8b11c82 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -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)))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]