GLTexture: Add GL_RGB format support

This commit is contained in:
Bilal Elmoussaoui 2023-03-13 13:59:17 +00:00
parent 413abef01d
commit 23408f6dbf

View File

@ -335,6 +335,7 @@ gdk_gl_texture_determine_format (GdkGLTexture *self)
switch (internal_format) switch (internal_format)
{ {
case GL_RGB8: case GL_RGB8:
case GL_RGB:
texture->format = GDK_MEMORY_R8G8B8; texture->format = GDK_MEMORY_R8G8B8;
break; break;