diff options
author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2023-03-13 13:59:17 +0000 |
---|---|---|
committer | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2023-03-13 13:59:17 +0000 |
commit | 23408f6dbf6ad735da8fd563b5c51b63e132b1e7 (patch) | |
tree | 754250d04e332d4bb2a092ab57daa32e111d97ac | |
parent | 413abef01d6d50e3b0e4b35262603cea2d9d5a34 (diff) | |
download | gtk+-23408f6dbf6ad735da8fd563b5c51b63e132b1e7.tar.gz |
GLTexture: Add GL_RGB format support
-rw-r--r-- | gdk/gdkgltexture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkgltexture.c b/gdk/gdkgltexture.c index f8ff9344c1..c0ff8100aa 100644 --- 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; |