Refresh GoogleMock from upstream. Regal initialization for selected WGL functions. Assertion fixes.
18 lines
520 B
Python
18 lines
520 B
Python
#!/usr/bin/python -B
|
|
|
|
formulae = {
|
|
'GetExtension' : {
|
|
'entries' : [ 'glGetExtensionREGAL' ],
|
|
'impl' : '''
|
|
RegalAssert(_context->info);
|
|
RegalAssert(_context->emuInfo)
|
|
return _context->emuInfo->getExtension(*_context->info,ext) ? GL_TRUE : GL_FALSE;'''
|
|
},
|
|
'IsSupported' : {
|
|
'entries' : [ 'glIsSupportedREGAL' ],
|
|
'impl' : '''
|
|
RegalAssert(_context->info);
|
|
RegalAssert(_context->emuInfo)
|
|
return _context->emuInfo->isSupported(*_context->info,ext) ? GL_TRUE : GL_FALSE;'''
|
|
},
|
|
}
|