gl: Fix broken internal format
authorBenjamin Otte <otte@redhat.com>
Sat, 9 Oct 2021 02:35:27 +0000 (04:35 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 9 Oct 2021 02:44:30 +0000 (04:44 +0200)
gdk/gdkmemoryformat.c

index 5af2bb8516d07221b38305ce8b5690e2a505bfdc..5ee530654f49edef77643d99894effb569a922ca 100644 (file)
@@ -274,7 +274,7 @@ static const GdkMemoryFormatDescription memory_formats[GDK_MEMORY_N_FORMATS] = {
     G_ALIGNOF (guchar),
     FALSE,
     TRUE,
-    { GL_RGBA8, GL_RGB, GL_UNSIGNED_BYTE },
+    { GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE },
     r8g8b8_to_float,
     r8g8b8_from_float,
   },