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."); } } }