projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413abef
)
GLTexture: Add GL_RGB format support
author
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Mon, 13 Mar 2023 13:59:17 +0000
(13:59 +0000)
committer
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Mon, 13 Mar 2023 13:59:17 +0000
(13:59 +0000)
gdk/gdkgltexture.c
patch
|
blob
|
history
diff --git
a/gdk/gdkgltexture.c
b/gdk/gdkgltexture.c
index f8ff9344c1e9202b399243630c7452f0e3dbf08e..c0ff8100aabdfbc5d09d710571067e473e14c237 100644
(file)
--- a/
gdk/gdkgltexture.c
+++ b/
gdk/gdkgltexture.c
@@
-335,6
+335,7
@@
gdk_gl_texture_determine_format (GdkGLTexture *self)
switch (internal_format)
{
case GL_RGB8:
+ case GL_RGB:
texture->format = GDK_MEMORY_R8G8B8;
break;