Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 3b66047465
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (16 sloc) 0.826 kB
#!/usr/bin/python -B
formulae = {
'GetString' : {
'entries' : [ 'glGetString' ],
'impl' : [ 'RegalAssert(_context->info);',
'// Regal interceptions',
'switch (name) {',
' case GL_VENDOR: return reinterpret_cast<const GLubyte *>(_context->info->regalVendor.c_str());',
' case GL_RENDERER: return reinterpret_cast<const GLubyte *>(_context->info->regalRenderer.c_str());',
' case GL_VERSION: return reinterpret_cast<const GLubyte *>(_context->info->regalVersion.c_str());',
' case GL_EXTENSIONS: return reinterpret_cast<const GLubyte *>(_context->info->regalExtensions.c_str());',
' default:',
' break;',
'}' ]
}
}
Jump to Line
Something went wrong with that request. Please try again.