summaryrefslogtreecommitdiff
path: root/gtk/gtkglarea.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkglarea.c')
-rw-r--r--gtk/gtkglarea.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c
index 4cb815e1d9..fcff175e52 100644
--- a/gtk/gtkglarea.c
+++ b/gtk/gtkglarea.c
@@ -740,10 +740,14 @@ gtk_gl_area_snapshot (GtkWidget *widget,
texture->holder = gdk_gl_texture_new (priv->context,
texture->id,
+ TRUE,
texture->width,
texture->height,
release_texture, texture);
+ /* Our texture is backed by an FBO, and those are drawn upside-down,
+ * compared to screen buffer. Yay, OpenGL
+ */
gtk_snapshot_append_texture (snapshot,
texture->holder,
&GRAPHENE_RECT_INIT (0, 0,