render ctx

This commit is contained in:
Михаил Капелько committed 2026-10-19 06:56:04 +03:00
1 parent fbea0673c1
commit fbb02855ee
10 files changed
+167 -15

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import AppKit
let RENDER_OPENGL_ATTRS: [NSOpenGLPixelFormatAttribute] = [
UInt32(NSOpenGLPFAOpenGLProfile), UInt32(NSOpenGLProfileVersion3_2Core),
UInt32(NSOpenGLPFAColorSize), 24,
UInt32(NSOpenGLPFAAlphaSize), 8,
UInt32(NSOpenGLPFADepthSize), 24,
UInt32(NSOpenGLPFADoubleBuffer),
UInt32(NSOpenGLPFAAccelerated),
0
]