From aaa335b9e8dc98a79a029a44c62a9f536a520fb3 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 6 Nov 2014 09:11:17 +0100 Subject: [PATCH] gdk_cairo_draw_from_gl: Document that this changes the current context --- gdk/gdkgl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index f490330da7..81fb60e398 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -88,6 +88,8 @@ gdk_gl_texture_quad (float x1, float y1, * For #GL_RENDERBUFFER the code will always fall back to software for buffers * with alpha components, so make sure you use #GL_TEXTURE if using alpha. * + * Calling this may change the current GL context. + * * Since: 3.16 */ void