git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
NSOpenGLPFAColorSize,(NSOpenGLPixelFormatAttribute)8,
NSOpenGLPFAAlphaSize,(NSOpenGLPixelFormatAttribute)0,
NSOpenGLPFADepthSize,(NSOpenGLPixelFormatAttribute)8,
NSOpenGLPFAColorSize,(NSOpenGLPixelFormatAttribute)8,
NSOpenGLPFAAlphaSize,(NSOpenGLPixelFormatAttribute)0,
NSOpenGLPFADepthSize,(NSOpenGLPixelFormatAttribute)8,
+ NSOpenGLPFAAccelerated, // use hardware accelerated context
(NSOpenGLPixelFormatAttribute)nil
};
(NSOpenGLPixelFormatAttribute)nil
};
{
unsigned p = 0;
data[p++] = NSOpenGLPFAMinimumPolicy; // make _SIZE tags behave more like GLX
{
unsigned p = 0;
data[p++] = NSOpenGLPFAMinimumPolicy; // make _SIZE tags behave more like GLX
+ data[p++] = NSOpenGLPFAAccelerated; // use hardware accelerated context
for ( unsigned arg = 0; attribList[arg] !=0 && p < WXSIZEOF(data); )
{
for ( unsigned arg = 0; attribList[arg] !=0 && p < WXSIZEOF(data); )
{