mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-26 17:16:59 +08: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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user