(XDK) Small cleanup of unused var
This commit is contained in:
parent
7937bff786
commit
bac8a923b2
|
@ -792,11 +792,8 @@ static bool xdk_d3d_frame(void *data, const void *frame,
|
||||||
MEMORYSTATUS stat;
|
MEMORYSTATUS stat;
|
||||||
GlobalMemoryStatus(&stat);
|
GlobalMemoryStatus(&stat);
|
||||||
|
|
||||||
//Output memory usage
|
|
||||||
|
|
||||||
char fps_txt[128];
|
char fps_txt[128];
|
||||||
char buf[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));
|
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);
|
xfonts_render_msg_place(d3d, font_x + 30, font_y + 50, 0 /* scale */, buf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue