mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 21:40:22 +00:00
GLTexture: Add GL_RGB format support
This commit is contained in:
parent
413abef01d
commit
23408f6dbf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user