diff --git a/background.c b/background.c index 057dfd7..20cb1e5 100644 --- a/background.c +++ b/background.c @@ -25,11 +25,11 @@ void BACKGROUND_Initialize(SDL_Renderer * renderer, int width, int height){ printf("Initializing Background...\n"); BACKGROUND_BoxWidth = width; BACKGROUND_BoxHeight = height; - BACKGROUND_TextureCount = 1; + BACKGROUND_TextureCount = 2; BACKGROUND_TotalRect = (SDL_Rect) {.x = 0, .y = 0, .w = 1920, .h = 1080 }; BACKGROUND_Textures = malloc(BACKGROUND_TextureCount * sizeof(SDL_Texture *)); BACKGROUND_Textures[0] = IMG_LoadTexture(renderer, BG_Path_1); - // BACKGROUND_Textures[1] = IMG_LoadTexture(renderer, BG_Path_2); + BACKGROUND_Textures[1] = IMG_LoadTexture(renderer, BG_Path_2); // BACKGROUND_Textures[2] = IMG_LoadTexture(renderer, BG_Path_3); printf("Background initialized!\n"); BACKGROUND_IsInit = true; diff --git a/bin/assets/images/bg/bg2.png b/bin/assets/images/bg/bg2.png index 7a2d34e..ac25864 100644 Binary files a/bin/assets/images/bg/bg2.png and b/bin/assets/images/bg/bg2.png differ