mirror of
https://github.com/NoelFB/blah.git
synced 2025-07-18 19:41:52 +08:00
fixing various clang warnings
This commit is contained in:
@ -22,6 +22,7 @@ VertexFormat::VertexFormat(std::initializer_list<VertexAttribute> attributes, in
|
||||
{
|
||||
switch (it.type)
|
||||
{
|
||||
case VertexType::None: break;
|
||||
case VertexType::Float: stride += 4; break;
|
||||
case VertexType::Float2: stride += 8; break;
|
||||
case VertexType::Float3: stride += 12; break;
|
||||
|
Reference in New Issue
Block a user