Skip to content
Browse files

Add enums to allow specifying the OpenGL 3.2 profile

  • Loading branch information...
1 parent e77ce20 commit 05031653d966950d686252aa8bbf8c8c6c11274d @migueldeicaza migueldeicaza committed May 24, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/AppKit/Enums.cs
View
10 src/AppKit/Enums.cs
@@ -1407,9 +1407,17 @@ public enum NSOpenGLPixelFormatAttribute {
RemotePixelBuffer = 91,
AllowOfflineRenderers = 96,
AcceleratedCompute = 97,
+
+ // Specify the profile
+ OpenGLProfile = 99,
VirtualScreenCount = 128,
}
-
+
+ public enum NSOpenGLProfile {
+ VersionLegacy = 0x1000, // Legacy
+ Version3_2Core = 0x3200 // 3.2 or better
+ }
+
public enum NSAlertButtonReturn {
First = 1000,
Second = 1001,

0 comments on commit 0503165

Please sign in to comment.
Something went wrong with that request. Please try again.