[gtk/wip/otte/gles: 3/5] gl: Fix broken internal format




commit 27b5dc14526f1dcb2d806aa2ae022fddbc43af55
Author: Benjamin Otte <otte redhat com>
Date:   Sat Oct 9 04:35:27 2021 +0200

    gl: Fix broken internal format

 gdk/gdkmemoryformat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkmemoryformat.c b/gdk/gdkmemoryformat.c
index 5af2bb8516..5ee530654f 100644
--- a/gdk/gdkmemoryformat.c
+++ b/gdk/gdkmemoryformat.c
@@ -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,
   },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]