From 738c99e77803e7ca5227fbc2af940b213e840876 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 20 Dec 2014 09:40:03 -0800 Subject: [PATCH] thin3d: Log an unexpected case. --- thin3d/thin3d_gl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thin3d/thin3d_gl.cpp b/thin3d/thin3d_gl.cpp index bce0f94f55..92e8b3c30a 100644 --- a/thin3d/thin3d_gl.cpp +++ b/thin3d/thin3d_gl.cpp @@ -752,6 +752,8 @@ void Thin3DGLVertexFormat::Apply() { case UNORM8x4: glVertexAttribPointer(components_[i].semantic, 4, GL_UNSIGNED_BYTE, GL_TRUE, stride_, (void *)(intptr_t)components_[i].offset); break; + case INVALID: + ELOG("Thin3DGLVertexFormat: Invalid component type applied."); } } }