SDL_QueryTexture() fills in a pointer to SDL_PixelFormatEnum

This commit is contained in:
Sam Lantinga committed 2024-04-01 15:45:22 -07:00
1 parent aea44cff6b
commit a82ed82bc7
5 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -814,7 +814,7 @@ extern DECLSPEC SDL_Renderer *SDLCALL SDL_GetRendererFromTexture(SDL_Texture *te
*
* \since This function is available since SDL 3.0.0.
*/
extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture *texture, Uint32 *format, int *access, int *w, int *h);
extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture *texture, SDL_PixelFormatEnum *format, int *access, int *w, int *h);
/**
* Set an additional color value multiplied into render copy operations.