Happened because I compiled on windows and it only compiled windows-specific code.
@@ -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
@@ -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);