Fix some compiler warnings

This commit is contained in:
WaluigiWare64
2021-01-25 14:12:13 +00:00
parent b9a56bc4e4
commit 43348210f9
12 changed files with 26 additions and 19 deletions

View File

@ -284,7 +284,7 @@ bool Init()
glGenBuffers(1, &ShaderConfigUBO);
glBindBuffer(GL_UNIFORM_BUFFER, ShaderConfigUBO);
static_assert((sizeof(ShaderConfig) & 15) == 0);
static_assert((sizeof(ShaderConfig) & 15) == 0, "");
glBufferData(GL_UNIFORM_BUFFER, sizeof(ShaderConfig), &ShaderConfig, GL_STATIC_DRAW);
glBindBufferBase(GL_UNIFORM_BUFFER, 0, ShaderConfigUBO);