mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +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)
|
switch (internal_format)
|
||||||
{
|
{
|
||||||
case GL_RGB8:
|
case GL_RGB8:
|
||||||
|
case GL_RGB:
|
||||||
texture->format = GDK_MEMORY_R8G8B8;
|
texture->format = GDK_MEMORY_R8G8B8;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user