diff options
author | Sven Gothel <[email protected]> | 2012-12-30 15:09:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-12-30 15:09:12 +0100 |
commit | ece5acb85b3dac22352aca75dd09aadcb96b43f3 (patch) | |
tree | 8544b853d390597a26b0f9a7649bfb88ea4e47f1 /make/scripts/lsGLtoES2_commons.sh | |
parent | b6ae4e4dcbd740dd57de9dc3280d943e98cdaa76 (diff) |
setGLFunctionAvailability(..): Unify GLInt and GLString version validation; Refines commit b6ae4e4dcbd740dd57de9dc3280d943e98cdaa76
- Limit getGLIntVersion() w/ non ARB ctx to 3.0 - similar to getGLVersionNumber(.., String).
- GLInt only proceeds w/ valid version
- Always test GLInt version before GLString version,
cont. w/ GLString version if GLInt failed.
- Fail if strictMode and GLInt failed, but GLString reports GL >= 3.0
- Fail is strictMode and neither GLInt nor GLString could validate version
- Clear glError before succeeding (could be tainted by GLInt version test)
Diffstat (limited to 'make/scripts/lsGLtoES2_commons.sh')
0 files changed, 0 insertions, 0 deletions