SDL_CreateTexture() uses the SDL_TextureAccess type for the access parameter

This commit is contained in:
Sam Lantinga
2024-07-21 17:26:46 -07:00
parent b0713a7d30
commit c4bf5f9f59
5 changed files with 6 additions and 6 deletions

View File

@@ -500,7 +500,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetCurrentRenderOutputSize(SDL_Renderer *ren
* \sa SDL_GetTextureSize
* \sa SDL_UpdateTexture
*/
extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer *renderer, SDL_PixelFormat format, int access, int w, int h);
extern SDL_DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer *renderer, SDL_PixelFormat format, SDL_TextureAccess access, int w, int h);
/**
* Create a texture from an existing surface.