You should call present when using a software renderer as well.

Fixes https://github.com/libsdl-org/SDL/issues/8676

(cherry picked from commit 581d1cab257a14cd235df2192f012abb0d4e36e0)
This commit is contained in:
Sam Lantinga 2023-12-11 08:43:31 -08:00
parent 79a8e8cf04
commit 7d94121606

View file

@ -50,6 +50,7 @@ void DrawChessBoard()
SDL_RenderFillRect(renderer, &rect);
}
}
SDL_RenderPresent(renderer);
}
void loop()