regal/scripts/EmuErrorString.py
Nigel Stewart 1d255f16da Remapping of ES 1.0 and ES 1.1 via GL_REGAL_ES1_0_compatibility and GL_REGAL_ES1_1_compatibility.
Advertize both GL_REGAL_ES1_0_compatibility and GL_REGAL_ES1_1_compatibility in the extension string.
Has the side-effect (and benefit) of removing GL_REGAL_ES1_0_compatibility from the dispatch tables.
2012-09-08 22:22:11 -05:00

11 lines
359 B
Python
Executable file

#!/usr/bin/python -B
formulae = {
'ErrorString' : {
'entries' : [ 'glErrorStringREGAL' ],
'impl' : [ 'RegalAssert(_context->info);',
# '// Emulate GL_REGAL_error_string, if necessary.',
# 'if (!_context->info->gl_regal_error_string)',
'return Token::GLerrorToString(error);' ]
}
}