added texttures

This commit is contained in:
Stefan Neumann 2018-01-15 13:55:57 +01:00
parent 8dd9f2e02d
commit 89d295044d
5 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -7,8 +7,8 @@ SDL_Texture* TITLE_Texture;
SDL_Rect TargetRect; SDL_Rect TargetRect;
void Load_Textures (SDL_Renderer* renderer) { void Load_Textures (SDL_Renderer* renderer) {
TITLE_Texture = IMG_LoadTexture(renderer, "assets/images/Texts.png"); TITLE_Texture = IMG_LoadTexture(renderer, "assets/images/breaking_button.png");
TargetRect = (SDL_Rect){.x = 200,.y = 100, .w=1000, .h=256}; TargetRect = (SDL_Rect){.x = 583,.y = 100, .w=754, .h=334};
} }