summaryrefslogtreecommitdiff
path: root/gtk/gtkglarea.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-01-31 01:55:04 +0100
committerBenjamin Otte <otte@redhat.com>2015-01-31 01:55:04 +0100
commit3575df8ee24a4e9e7c59260d66e0e087be852e69 (patch)
tree6776a87eb36c7484039e3f9b10387004898ea045 /gtk/gtkglarea.c
parentf1ec76a9c1250b8d6f35dc199f0fc0452bcdaaf5 (diff)
downloadgtk+-3575df8ee24a4e9e7c59260d66e0e087be852e69.tar.gz
glarea: Remove useless function
The function should have been gone in 27cf0fa34c3a51ddb50391f21aaf2e3984d6dddb
Diffstat (limited to 'gtk/gtkglarea.c')
-rw-r--r--gtk/gtkglarea.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c
index cbf1c92da4..ee7a30f381 100644
--- a/gtk/gtkglarea.c
+++ b/gtk/gtkglarea.c
@@ -525,24 +525,6 @@ gtk_gl_area_delete_buffers (GtkGLArea *area)
}
static void
-gtk_gl_area_post_render (GtkGLArea *area)
-{
- GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
- GLenum invalidate[4];
- int i = 0;
-
- if (priv->has_depth_buffer)
- invalidate[i++] = GL_DEPTH_ATTACHMENT;
-
- if (priv->has_stencil_buffer)
- invalidate[i++] = GL_STENCIL_ATTACHMENT;
-
- if (priv->auto_render)
- invalidate[i++] = GL_COLOR_ATTACHMENT0;
-}
-
-
-static void
gtk_gl_area_unrealize (GtkWidget *widget)
{
GtkGLArea *area = GTK_GL_AREA (widget);
@@ -698,7 +680,6 @@ gtk_gl_area_draw (GtkWidget *widget,
priv->texture ? GL_TEXTURE : GL_RENDERBUFFER,
scale, 0, 0, w, h);
gtk_gl_area_make_current (area);
- gtk_gl_area_post_render (area);
}
else
{