projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1afad43
)
gdk: Make float32 report its true depth
author
Benjamin Otte
<otte@redhat.com>
Mon, 23 Oct 2023 19:20:31 +0000
(21:20 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Nov 2023 19:51:37 +0000
(14:51 -0500)
I have no idea how this is the only value that is wrong.
gdk/gdkmemoryformat.c
patch
|
blob
|
history
diff --git
a/gdk/gdkmemoryformat.c
b/gdk/gdkmemoryformat.c
index ff42f236174883845e12247b320ddd02bc9d2126..3b21734c14405e2b1edad5900f88d46fb05d9dd7 100644
(file)
--- a/
gdk/gdkmemoryformat.c
+++ b/
gdk/gdkmemoryformat.c
@@
-511,7
+511,7
@@
static const GdkMemoryFormatDescription memory_formats[] = {
GDK_MEMORY_ALPHA_PREMULTIPLIED,
16,
G_ALIGNOF (float),
-
TRUE
,
+
GDK_MEMORY_FLOAT32
,
{ 0, 0, 3, 0 },
{ GL_RGBA32F, GL_RGBA, GL_FLOAT, { GL_RED, GL_GREEN, GL_BLUE, GL_ALPHA } },
r32g32b32a32_float_to_float,