mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Use PNG files for tests and examples
These are much smaller than the previous BMP files Fixes https://github.com/libsdl-org/SDL/issues/14159
This commit is contained in:
parent
7454302cd0
commit
bb0d6221c1
143 changed files with 10608 additions and 147151 deletions
|
|
@ -168,7 +168,7 @@ int main(int argc, char *argv[])
|
|||
SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF);
|
||||
SDL_RenderClear(renderer);
|
||||
|
||||
sprite = LoadTexture(renderer, "icon.bmp", true);
|
||||
sprite = LoadTexture(renderer, "icon.png", true);
|
||||
if (!sprite) {
|
||||
quit(6);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue