Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
gtk
Commits
f7497dae
Commit
f7497dae
authored
Jan 28, 2015
by
Emmanuele Bassi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE
Instead of LEGACY.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
parent
4c091db6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkglcontext-wayland.c
+1
-1
gdk/win32/gdkglcontext-win32.c
gdk/win32/gdkglcontext-win32.c
+1
-2
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkglcontext-x11.c
+1
-1
No files found.
gdk/wayland/gdkglcontext-wayland.c
View file @
f7497dae
...
...
@@ -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
)
...
...
gdk/win32/gdkglcontext-win32.c
View file @
f7497dae
...
...
@@ -488,9 +488,8 @@ _gdk_win32_gl_context_realize (GdkGLContext *context,
return
FALSE
;
}
/* GDK_GL_PROFILE_DEFAULT is the same as GDK_GL_PROFILE_LEGACY for now */
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
)
{
...
...
gdk/x11/gdkglcontext-x11.c
View file @
f7497dae
...
...
@@ -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
)))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment