]> gitweb.factorcode.org Git - factor.git/commitdiff
cocoa.views: add some constants for opengl.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 29 Jun 2016 05:47:11 +0000 (22:47 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 29 Jun 2016 05:47:11 +0000 (22:47 -0700)
basis/cocoa/views/views.factor

index 4e4c459fb7556555199bb76c87df6e916c78c10e..101eea9e2b544a4322512707a42b596a0e60154e 100644 (file)
@@ -38,11 +38,15 @@ CONSTANT: NSOpenGLPFACompliant 83
 CONSTANT: NSOpenGLPFAScreenMask 84
 CONSTANT: NSOpenGLPFAPixelBuffer 90
 CONSTANT: NSOpenGLPFAAllowOfflineRenderers 96
+CONSTANT: NSOpenGLPFAOpenGLProfile 99
 CONSTANT: NSOpenGLPFAVirtualScreenCount 128
 
 CONSTANT: NSOpenGLCPSwapInterval 222
 CONSTANT: NSOpenGLCPSurfaceOpacity 236
 
+CONSTANT: NSOpenGLProfileVersion3_2Core 0x3200
+CONSTANT: kCGLOGLPVersion_GL4_Core 0x4100
+
 : <GLView> ( class dim pixel-format -- view )
     [ -> alloc ]
     [ [ 0 0 ] dip first2 <CGRect> ]