diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-09 17:24:21 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-10-13 10:43:32 -0400 |
commit | fdeb4f8c164bcdc1b54ed46f9e5b7185694ff623 (patch) | |
tree | 5ea13c065a6e2285bbe2a639aef6509fd47396bf /gtk/gtkglarea.h | |
parent | 017775f28863f233e6683dae723a01f502a8b554 (diff) | |
download | gtk+-fdeb4f8c164bcdc1b54ed46f9e5b7185694ff623.tar.gz |
gl: Make gdk_gl_context_make_current() return void
Its not really reasonable to handle failures to make_current, it
basically only happens if you pass invalid arguments to it, and
thats not something we trap on similar things on the X drawing side.
If GL is not supported that should be handled by the context creation
failing, and anything going wrong after that is essentially a critical
(or an async X error).
Diffstat (limited to 'gtk/gtkglarea.h')
-rw-r--r-- | gtk/gtkglarea.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h index cb0d4c75c2..559389a029 100644 --- a/gtk/gtkglarea.h +++ b/gtk/gtkglarea.h @@ -98,7 +98,7 @@ GDK_AVAILABLE_IN_3_16 GdkGLContext * gtk_gl_area_get_context (GtkGLArea *area); GDK_AVAILABLE_IN_3_16 -gboolean gtk_gl_area_make_current (GtkGLArea *area); +void gtk_gl_area_make_current (GtkGLArea *area); G_END_DECLS |