From 916bc19021eafb49835cef3238a079f8c29b09c1 Mon Sep 17 00:00:00 2001 From: Hunter Senft-Grupp Date: Tue, 17 Feb 2026 22:19:08 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20CGL=20kCGLPFAColorSize=20constant=20(56?= =?UTF-8?q?=20=E2=86=92=208)=20and=20remove=20unused=20kCGLPFADepthSize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kCGLPFAColorSize was set to 56 (which is kCGLPFASamples), causing CGL to interpret the attribute pair as a request for 32x multisampling instead of 32-bit color. CGL silently ignored it, masking the bug. --- comfy_extras/nodes_glsl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comfy_extras/nodes_glsl.py b/comfy_extras/nodes_glsl.py index 5c206c587..f989dd0c8 100644 --- a/comfy_extras/nodes_glsl.py +++ b/comfy_extras/nodes_glsl.py @@ -288,8 +288,7 @@ def _init_cgl(): kCGLPFAOpenGLProfile = 99 kCGLOGLPVersion_3_2_Core = 0x3200 kCGLPFAAccelerated = 73 - kCGLPFAColorSize = 56 - kCGLPFADepthSize = 12 + kCGLPFAColorSize = 8 kCGLPFAAllowOfflineRenderers = 96 attrs = (ctypes.c_int * 9)(