diff options
author | Sven Gothel <[email protected]> | 2012-04-09 05:36:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-04-09 05:36:33 +0200 |
commit | ca14c6b3d5e53f6eda31ab6112b6b1705c5b31e5 (patch) | |
tree | 9445b46793de1334c23b03a63d6b4e84fe4aa327 /make/config/jogl/gl-impl-CustomJavaCode-gles2.java | |
parent | 1ab2108279ede3b646ad2d410fd16368393c174e (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/config/jogl/gl-impl-CustomJavaCode-gles2.java')
0 files changed, 0 insertions, 0 deletions