Преглед на файлове

SDL_gpu.h: SDL_GetGPUDeviceProperties() is thread-safe.

Ryan C. Gordon преди 2 седмици
родител
ревизия
05939909da
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      include/SDL3/SDL_gpu.h

+ 2 - 0
include/SDL3/SDL_gpu.h

@@ -2358,6 +2358,8 @@ extern SDL_DECLSPEC SDL_GPUShaderFormat SDLCALL SDL_GetGPUShaderFormats(SDL_GPUD
  * \returns a valid property ID on success or 0 on failure; call
  *          SDL_GetError() for more information.
  *
+ * \threadsafety It is safe to call this function from any thread.
+ *
  * \since This function is available since SDL 3.4.0.
  */
 extern SDL_DECLSPEC SDL_PropertiesID SDLCALL SDL_GetGPUDeviceProperties(SDL_GPUDevice *device);