projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ab9f7
)
gl: Fix broken internal format
author
Benjamin Otte
<otte@redhat.com>
Sat, 9 Oct 2021 02:35:27 +0000
(
04:35
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 9 Oct 2021 02:44:30 +0000
(
04:44
+0200)
gdk/gdkmemoryformat.c
patch
|
blob
|
history
diff --git
a/gdk/gdkmemoryformat.c
b/gdk/gdkmemoryformat.c
index 5af2bb8516d07221b38305ce8b5690e2a505bfdc..5ee530654f49edef77643d99894effb569a922ca 100644
(file)
--- a/
gdk/gdkmemoryformat.c
+++ b/
gdk/gdkmemoryformat.c
@@
-274,7
+274,7
@@
static const GdkMemoryFormatDescription memory_formats[GDK_MEMORY_N_FORMATS] = {
G_ALIGNOF (guchar),
FALSE,
TRUE,
- { GL_RGB
A
8, GL_RGB, GL_UNSIGNED_BYTE },
+ { GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE },
r8g8b8_to_float,
r8g8b8_from_float,
},