Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority()
Fixes https://github.com/libsdl-org/SDL/issues/11055
This commit is contained in:
1 parent
69196ab30d
commit
fe2880fcda
17 files changed
+30
-22
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user