From b298e53f1e27fc1f4377787d93e2478168805d8c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 29 Mar 2011 23:37:08 +0100 Subject: [PATCH] Remove redundant break statements. --- glsize.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/glsize.hpp b/glsize.hpp index 4042f26..96a909a 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; -- 2.7.4