[gtk+] gdk_cairo_draw_from_gl: Document that this changes the current context



commit aaa335b9e8dc98a79a029a44c62a9f536a520fb3
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Nov 6 09:11:17 2014 +0100

    gdk_cairo_draw_from_gl: Document that this changes the current context

 gdk/gdkgl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index f490330..81fb60e 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]