diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-30 19:18:05 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-10-30 21:04:29 +0100 |
commit | 969b9c65520d388ea9e5c4a9eb42cf928a7debd5 (patch) | |
tree | ce058958eac3a7b09ccb2e2ef3b479c7a7b08ae3 /gtk/gtkglarea.h | |
parent | b519b642bd053e669b4925a9da0dfeaaa8504c35 (diff) | |
download | gtk+-969b9c65520d388ea9e5c4a9eb42cf928a7debd5.tar.gz |
GtkGLArea: Add profile property
This lets you force a core 3.2 context if you want
Diffstat (limited to 'gtk/gtkglarea.h')
-rw-r--r-- | gtk/gtkglarea.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h index 511cede12e..87fb453c72 100644 --- a/gtk/gtkglarea.h +++ b/gtk/gtkglarea.h @@ -79,6 +79,11 @@ GType gtk_gl_area_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_3_16 GtkWidget * gtk_gl_area_new (void); +GDK_AVAILABLE_IN_3_16 +GdkGLProfile gtk_gl_area_get_profile (GtkGLArea *area); +GDK_AVAILABLE_IN_3_16 +void gtk_gl_area_set_profile (GtkGLArea *area, + GdkGLProfile profile); GDK_AVAILABLE_IN_3_16 gboolean gtk_gl_area_get_has_alpha (GtkGLArea *area); |