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.
11 lines
359 B
Python
Executable file
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);' ]
|
|
}
|
|
}
|