Update render.c
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user