[gtk/wip/chergert/gdk-macos-for-master: 2/3] macos: we only need 24-bit for color
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/gdk-macos-for-master: 2/3] macos: we only need 24-bit for color
- Date: Mon, 7 Dec 2020 19:52:41 +0000 (UTC)
commit b431e39d4e6624677684ec47746d0b1d7f64626b
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 7 11:27:11 2020 -0800
macos: we only need 24-bit for color
gdk/macos/gdkmacosglcontext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacosglcontext.c b/gdk/macos/gdkmacosglcontext.c
index 00ddfefcde..8f7f317cec 100644
--- a/gdk/macos/gdkmacosglcontext.c
+++ b/gdk/macos/gdkmacosglcontext.c
@@ -101,7 +101,7 @@ create_pixel_format (int major,
NSOpenGLPFAAccelerated,
NSOpenGLPFADoubleBuffer,
NSOpenGLPFABackingStore,
- NSOpenGLPFAColorSize, 32,
+ NSOpenGLPFAColorSize, 24,
NSOpenGLPFAAlphaSize, 8,
(NSOpenGLPixelFormatAttribute)nil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]