suppress some warnings
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OpenVulkano::Scene
|
||||
|
||||
Shader* GetTextShader(const FontAtlasType type, const bool billboard)
|
||||
{
|
||||
return &TEXT_SHADERS[static_cast<int>(type) << 1 | billboard];
|
||||
return &TEXT_SHADERS[(static_cast<int>(type) << 1) + billboard];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user