SDL_CreateTexture() uses the SDL_TextureAccess type for the access parameter

This commit is contained in:
Sam Lantinga committed 2024-07-22 09:32:02 -07:00
1 parent b0713a7d30
commit c4bf5f9f59
5 files changed
+6 -6

No files matched your search

+1 -1
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.