summaryrefslogtreecommitdiff
path: root/gdk/gdktextureprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2021-09-10 02:40:21 +0200
committerBenjamin Otte <otte@redhat.com>2021-09-12 05:54:37 +0200
commit53275481a56c0f92a26e4fffb34db8fd98f6d4a0 (patch)
treed9c165d3c2d623e2eecef8163ab68498d9100b6e /gdk/gdktextureprivate.h
parentcbe6d0da766b22445ff08aafbb3c21066ab3a60e (diff)
downloadgtk+-53275481a56c0f92a26e4fffb34db8fd98f6d4a0.tar.gz
texture: Add gdk_texture_download_float()
Diffstat (limited to 'gdk/gdktextureprivate.h')
-rw-r--r--gdk/gdktextureprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdktextureprivate.h b/gdk/gdktextureprivate.h
index 1133bf6acc..29fca0a9ba 100644
--- a/gdk/gdktextureprivate.h
+++ b/gdk/gdktextureprivate.h
@@ -30,6 +30,9 @@ struct _GdkTextureClass {
void (* download) (GdkTexture *texture,
guchar *data,
gsize stride);
+ void (* download_float) (GdkTexture *texture,
+ float *data,
+ gsize stride);
};
gpointer gdk_texture_new (const GdkTextureClass *klass,