mirror of
https://github.com/NoelFB/blah.git
synced 2026-11-10 00:35:14 +08:00
fixing various clang warnings
This commit is contained in:
1 parent
3913cf7c02
commit
4351d77f73
7 files changed
+38
-31
No files matched your search
@@ -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