(XDK) Small cleanup of unused var

This commit is contained in:
twinaphex 2012-11-20 15:04:58 +01:00
parent 7937bff786
commit bac8a923b2

View File

@ -792,11 +792,8 @@ static bool xdk_d3d_frame(void *data, const void *frame,
MEMORYSTATUS stat;
GlobalMemoryStatus(&stat);
//Output memory usage
char fps_txt[128];
char buf[128];
bool ret = false;
snprintf(buf, sizeof(buf), "%.2f MB free / %.2f MB total", stat.dwAvailPhys/(1024.0f*1024.0f), stat.dwTotalPhys/(1024.0f*1024.0f));
xfonts_render_msg_place(d3d, font_x + 30, font_y + 50, 0 /* scale */, buf);