diff options
author | Benjamin Otte <otte@redhat.com> | 2021-10-07 06:19:41 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2021-10-12 02:06:43 +0200 |
commit | b65b64628d0b5c883ba563eda412d88758c67b89 (patch) | |
tree | 5271fe8cce6e714fd38e4dd6d9a265d710b950ad /gdk/gdkarrayimpl.c | |
parent | d89e82d4a082febfe44d3504786fcab91eab62a3 (diff) | |
download | gtk+-b65b64628d0b5c883ba563eda412d88758c67b89.tar.gz |
texture: Refactor downloading
Pass a format do GdkTextureClass::download(). That way we can download
data in any format.
Also replace gdk_texture_download_texture() with
gdk_memory_texture_from_texture() which again takes a format.
The old functionality is still there for code that wants it: Just pass
gdk_texture_get_format (texture) as the format argument.
Diffstat (limited to 'gdk/gdkarrayimpl.c')
0 files changed, 0 insertions, 0 deletions