From: Benjamin Otte Date: Mon, 23 Oct 2023 19:20:31 +0000 (+0200) Subject: gdk: Make float32 report its true depth X-Git-Tag: archive/raspbian/4.12.4+ds-3+rpi1^2~21^2^2~24 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7c9ef05c7c0e181faf3830accc678919ec9db7f7;p=gtk4.git gdk: Make float32 report its true depth I have no idea how this is the only value that is wrong. --- diff --git a/gdk/gdkmemoryformat.c b/gdk/gdkmemoryformat.c index ff42f23617..3b21734c14 100644 --- 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,