Removed width/height parameters from LoadTexture()

You can directly access the texture width and height now.
This commit is contained in:
Sam Lantinga committed 2025-03-14 11:38:13 -07:00
1 parent dcb97a5f49
commit efe122be4d
14 files changed
+49 -70

No files matched your search

+1 -1
View File
@@ -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, NULL, NULL);
sprite = LoadTexture(renderer, "icon.bmp", true);
if (!sprite) {
quit(6);
}