summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-03-29 23:37:08 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-03-29 23:37:08 +0100
commitb298e53f1e27fc1f4377787d93e2478168805d8c (patch)
tree9eb0109b79824bb7a345d61267d54b8a20bb3a08
parent4f40291512be32d8aece7b0dceb28bdc7390a73f (diff)
Remove redundant break statements.
-rw-r--r--glsize.hpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/glsize.hpp b/glsize.hpp
index 4042f26b..96a909a7 100644
--- a/glsize.hpp
+++ b/glsize.hpp
@@ -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;