allocate memory for surfaces on CreateDIBSection failure
This commit is contained in:
parent
0b12de90e2
commit
897fdb5bbb
2 changed files with 11 additions and 4 deletions
src
|
@ -426,7 +426,7 @@ DWORD WINAPI render_main(void)
|
|||
{
|
||||
snprintf(
|
||||
debugText, sizeof(debugText),
|
||||
"FPS: %lu | Time: %2.2f ms",
|
||||
"FPS: %lu | Time: %2.2f ms ",
|
||||
frame_count, frameTime);
|
||||
|
||||
frame_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue