diff options
author | Benjamin Otte <otte@redhat.com> | 2021-09-12 00:10:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2021-09-12 05:54:37 +0200 |
commit | cbe6d0da766b22445ff08aafbb3c21066ab3a60e (patch) | |
tree | 061955c533e7c3316304e4571d3595efa6bb8443 /gdk/gdkcairo.h | |
parent | c349ed956269129841a881343cd1d5841d4daa2c (diff) | |
download | gtk+-cbe6d0da766b22445ff08aafbb3c21066ab3a60e.tar.gz |
gdk: Deprecate gdk_cairo_draw_from_gl()
It's broken with various pixel formats and OpenGL ES, it's hard to
understand what everything does, and gdk_texture_download() can be used
instead.
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r-- | gdk/gdkcairo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h index 40ab46baf6..f2dfa3177e 100644 --- a/gdk/gdkcairo.h +++ b/gdk/gdkcairo.h @@ -50,7 +50,7 @@ cairo_region_t * gdk_cairo_region_create_from_surface (cairo_surface_t *surface); -GDK_AVAILABLE_IN_ALL +GDK_DEPRECATED_IN_4_6_FOR(gdk_gl_texture_new) void gdk_cairo_draw_from_gl (cairo_t *cr, GdkSurface *surface, int source, |