aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/make.jogl.all.win32.bat
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-09 05:36:33 +0200
committerSven Gothel <[email protected]>2012-04-09 05:36:33 +0200
commitca14c6b3d5e53f6eda31ab6112b6b1705c5b31e5 (patch)
tree9445b46793de1334c23b03a63d6b4e84fe4aa327 /make/scripts/make.jogl.all.win32.bat
parent1ab2108279ede3b646ad2d410fd16368393c174e (diff)
ShaderUtil: isProgramValid() -> isProgramLinkStatusValid() + isProgramExecStatusValid()
isProgramValid() was testing whether the linkx status is valid and whether the executable environment is valid for the shader, see glValidateProgram(). glValidateProgram() may fail on some implementations in some circumstances (APX2500 and Tegra2) and indeed require all resources are set for execution of the shader program (glDraw*). This is not a requirement for issueing useProgram(), hence removed this test and made it available explicit for debugging purposes: isProgramExecStatusValid().
Diffstat (limited to 'make/scripts/make.jogl.all.win32.bat')
0 files changed, 0 insertions, 0 deletions