mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-19 06:30:07 +00:00
Fix CGL kCGLPFAColorSize constant (56 → 8) and remove unused kCGLPFADepthSize
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.
This commit is contained in:
@@ -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)(
|
||||
|
||||
Reference in New Issue
Block a user