You should call present when using a software renderer as well.
Fixes https://github.com/libsdl-org/SDL/issues/8676
(cherry picked from commit 581d1cab25)
This commit is contained in:
1 parent
79a8e8cf04
commit
7d94121606
1 file changed
+1
@@ -50,6 +50,7 @@ void DrawChessBoard()
|
|||||||
SDL_RenderFillRect(renderer, &rect);
|
SDL_RenderFillRect(renderer, &rect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SDL_RenderPresent(renderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop()
|
void loop()
|
||||||
|
|||||||
Reference in new issue
Block a user