regal/scripts/EmuForceCore.py
Nigel Stewart 932ed14443 Add Regal::scoped_ptr and Regal::scoped_array
Improved Mac OS X force core context.
Add Error dispatch breakpoint to Regal::break scope.
Improved core context support.
2013-03-05 08:03:49 -06:00

15 lines
370 B
Python
Executable file

#!/usr/bin/python -B
#
# TODO - For wgl and GLX too
#
formulae = {
'ForceCoreMac' : {
'entries' : [ 'CGLChoosePixelFormat' ],
'impl' : [
'scoped_array<CGLPixelFormatAttribute> nattribs;',
'if (Config::forceCoreProfile)',
' attribs = nattribs = Mac::forceCoreAttribs(attribs);' ]
}
}