diff options
author | Harvey Harrison <[email protected]> | 2013-10-17 23:37:54 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-10-17 23:37:54 -0700 |
commit | 85f1672da9cff456d24c75299fb09aa4a060bd4c (patch) | |
tree | e7e50dae7692dffaf0c38daed1b225ab9649bfc1 | |
parent | a91fb6149a59393ea3491700652b9f0d562792d8 (diff) |
jogl: allow case statements to fall through to same block
This block is falling through to the next cases where there two variables are
set to the same values. Just remove this block and let all cases fall through to
the same block.
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/GLBuffers.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLBuffers.java b/src/jogl/classes/com/jogamp/opengl/util/GLBuffers.java index 418d7fa81..b9903ac6d 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/GLBuffers.java +++ b/src/jogl/classes/com/jogamp/opengl/util/GLBuffers.java @@ -619,8 +619,6 @@ public class GLBuffers extends Buffers { case GL2GL3.GL_UNSIGNED_SHORT_4_4_4_4_REV: case GL2GL3.GL_UNSIGNED_SHORT_5_5_5_1: case GL2GL3.GL_UNSIGNED_SHORT_1_5_5_5_REV: - compSize = 2; - compCount = 1; case GL2.GL_UNSIGNED_SHORT_8_8_APPLE: case GL2.GL_UNSIGNED_SHORT_8_8_REV_APPLE: compSize = 2; |