Update render.c

This commit is contained in:
Jason Bou-Samra
2024-10-02 19:07:14 +10:00
committed by GitHub
parent cec2c31eca
commit 1af79245e5
+4
View File
@@ -148,6 +148,10 @@ int Ren_info(void) {
///////////////// DISPLAY PAUSE ///////////////// ///////////////// DISPLAY PAUSE /////////////////
int Ren_pause(void) { int Ren_pause(void) {
SDL_SetRenderDrawColor(sr, 0x0 , 0x0 , 0x0, 0xff);
SDL_RenderFillRect(sr, &main_back); // clear background
SDL_SetRenderDrawColor(sr, 0xff, 0xff, 0xff, 255);
SDL_RenderDrawRect(sr, &main_trim); // trim
SDL_SetRenderDrawColor(sr, 0xff , 0xff , 0xff, 0xff); SDL_SetRenderDrawColor(sr, 0xff , 0xff , 0xff, 0xff);
SDL_RenderFillRect(sr, &gameo_back); // background SDL_RenderFillRect(sr, &gameo_back); // background
for (int z = 0; z < 1; z++) { // 1 line of text for (int z = 0; z < 1; z++) { // 1 line of text