Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority()

Fixes https://github.com/libsdl-org/SDL/issues/11055
This commit is contained in:
Sam Lantinga committed 2024-10-04 08:57:03 -07:00
1 parent 69196ab30d
commit fe2880fcda
17 files changed
+30 -22

No files matched your search

+1 -1
View File
@@ -785,7 +785,7 @@ void SDL_CameraThreadSetup(SDL_Camera *device)
}*/
#else
// The camera capture is always a high priority thread
SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
SDL_SetCurrentThreadPriority(SDL_THREAD_PRIORITY_HIGH);
#endif
}