mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-05 16:26:48 +08: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:
parent
3846bff06f
commit
916bc19021
@ -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)(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user