diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2013-10-17 23:30:56 -0700 |
---|---|---|
committer | Harvey Harrison <harvey.harrison@gmail.com> | 2013-10-17 23:30:56 -0700 |
commit | a91fb6149a59393ea3491700652b9f0d562792d8 (patch) | |
tree | 8cd0a7281f18c0a671db1442dab80b6457eb6ff5 /src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java | |
parent | f1ae8ddb87c88a57dce4593f006881ef6a7f0932 (diff) |
jogl: fix two impossible comparisons in glu/tessellator
The comparison to Long.MAX_VALUE will never trigger as it is coparing with an int.
The intent of this code appears to be to check against Integer.MAX_VALUE which is
used as an error code (unable to allocate sufficiently large array) from the
priorityQueue.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java')
0 files changed, 0 insertions, 0 deletions