GPU: Note that resource naming functions are not thread safe.
This commit is contained in:
parent
3df0767e34
commit
c04b739df6
1 changed files with 4 additions and 0 deletions
|
@ -2514,6 +2514,8 @@ extern SDL_DECLSPEC SDL_GPUTransferBuffer *SDLCALL SDL_CreateGPUTransferBuffer(
|
|||
* \param buffer a buffer to attach the name to.
|
||||
* \param text a UTF-8 string constant to mark as the name of the buffer.
|
||||
*
|
||||
* \threadsafety This function is not thread safe, you must synchronize calls to this function.
|
||||
*
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_SetGPUBufferName(
|
||||
|
@ -2530,6 +2532,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetGPUBufferName(
|
|||
* \param texture a texture to attach the name to.
|
||||
* \param text a UTF-8 string constant to mark as the name of the texture.
|
||||
*
|
||||
* \threadsafety This function is not thread safe, you must synchronize calls to this function.
|
||||
*
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
extern SDL_DECLSPEC void SDLCALL SDL_SetGPUTextureName(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue