Fix a warning and an error

Happened because I compiled on windows and it only compiled
windows-specific code.
This commit is contained in:
jp9000 2014-02-28 20:11:10 -07:00
parent 94a2d20712
commit 429195aa6f
2 changed files with 3 additions and 1 deletions

View file

@ -178,6 +178,8 @@ failed:
gl_bind_buffer(GL_PIXEL_PACK_BUFFER, 0);
gl_bind_texture(GL_TEXTURE_2D, 0);
blog(LOG_ERROR, "device_stage_texture (GL) failed");
UNUSED_PARAMETER(device);
}
#endif

View file

@ -49,7 +49,7 @@ static void do_log(int log_level, const char *msg, va_list args)
vprintf(msg, args);
printf("\n");
UNUSED_PARAMETER(level);
UNUSED_PARAMETER(log_level);
#endif
}