diff --git a/include/SDL3/SDL_properties.h b/include/SDL3/SDL_properties.h index b3a0851ff0..16d0308607 100644 --- a/include/SDL3/SDL_properties.h +++ b/include/SDL3/SDL_properties.h @@ -121,8 +121,7 @@ extern DECLSPEC int SDLCALL SDL_SetProperty(SDL_PropertiesID props, const char * * * \threadsafety It is safe to call this function from any thread, although * the data returned is not protected and could potentially be - * freed if you call SDL_SetProperty() on this set of properties - * or destroy this set of properties from another thread. If you + * freed if you call SDL_SetProperty() or SDL_ClearProperty() on these properties from another thread. If you * need to avoid this, use SDL_LockProperties() and * SDL_UnlockProperties(). * @@ -156,8 +155,8 @@ extern DECLSPEC int SDLCALL SDL_ClearProperty(SDL_PropertiesID props, const char * * \param props the properties to destroy * - * \threadsafety This function should not be called while other threads might - * be setting or getting values from this set of properties. + * \threadsafety This function should not be called while these properties are locked or other threads might + * be setting or getting values from these properties. * * \since This function is available since SDL 3.0.0. *