diff options
author | José Fonseca <jose.r.fonseca@gmail.com> | 2011-03-29 23:37:08 +0100 |
---|---|---|
committer | José Fonseca <jose.r.fonseca@gmail.com> | 2011-03-29 23:37:08 +0100 |
commit | b298e53f1e27fc1f4377787d93e2478168805d8c (patch) | |
tree | 9eb0109b79824bb7a345d61267d54b8a20bb3a08 | |
parent | 4f40291512be32d8aece7b0dceb28bdc7390a73f (diff) |
Remove redundant break statements.
-rw-r--r-- | glsize.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -51,25 +51,20 @@ __gl_type_size(GLenum type) case GL_BYTE: case GL_UNSIGNED_BYTE: return 1; - break; case GL_SHORT: case GL_UNSIGNED_SHORT: case GL_2_BYTES: case GL_HALF_FLOAT: return 2; - break; case GL_3_BYTES: return 3; - break; case GL_INT: case GL_UNSIGNED_INT: case GL_FLOAT: case GL_4_BYTES: return 4; - break; case GL_DOUBLE: return 8; - break; default: OS::DebugMessage("warning: %s: unknown GLenum 0x%04X\n", __FUNCTION__, type); return 0; |