aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/JAWT_DrawingSurfaceInfo.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-12-30 15:09:12 +0100
committerSven Gothel <[email protected]>2012-12-30 15:09:12 +0100
commitece5acb85b3dac22352aca75dd09aadcb96b43f3 (patch)
tree8544b853d390597a26b0f9a7649bfb88ea4e47f1 /src/nativewindow/native/JAWT_DrawingSurfaceInfo.c
parentb6ae4e4dcbd740dd57de9dc3280d943e98cdaa76 (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 'src/nativewindow/native/JAWT_DrawingSurfaceInfo.c')
0 files changed, 0 insertions, 0 deletions