Removed width/height parameters from LoadTexture()
You can directly access the texture width and height now.
This commit is contained in:
parent
dcb97a5f49
commit
efe122be4d
14 changed files with 49 additions and 70 deletions
|
@ -16,8 +16,7 @@
|
|||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
SDL_Texture *LoadTexture(SDL_Renderer *renderer, const char *file, bool transparent,
|
||||
int *width_out, int *height_out);
|
||||
SDL_Texture *LoadTexture(SDL_Renderer *renderer, const char *file, bool transparent);
|
||||
char *GetNearbyFilename(const char *file);
|
||||
char *GetResourceFilename(const char *user_specified, const char *def);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue