work around a couple compilation warnings
This commit is contained in:
parent
d04ef0dd20
commit
fd8c3dbdc4
4
app.cc
4
app.cc
@ -132,7 +132,7 @@ static void draw_cube()
|
||||
glUniform1i(uniforms.tex, 0);
|
||||
glUniformMatrix4fv(uniforms.projection, 1, GL_FALSE, &projection[0][0]);
|
||||
|
||||
for (int i = 0; i < sizeof(rotations) / sizeof(rotations[0]); i++)
|
||||
for (unsigned int i = 0; i < sizeof(rotations) / sizeof(rotations[0]); i++)
|
||||
{
|
||||
if (rotations[i].counts > 0)
|
||||
{
|
||||
@ -194,7 +194,7 @@ int main(int argc, char *argv[])
|
||||
return 2;
|
||||
}
|
||||
|
||||
SDL_GLContext gl_context = SDL_GL_CreateContext(window);
|
||||
(void)SDL_GL_CreateContext(window);
|
||||
|
||||
if (gl3wInit())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user