27 #include "../../ports/system.h"
28 #include "../../shared/thread.h"
36 #define THREAD_SLEEP_INTERVAL 5
71 if (r_threadstate.
thread) {
75 SDL_WaitThread(r_threadstate.
thread,
nullptr);
79 r_threadstate.
thread =
nullptr;
local graphics definitions
SDL_Thread * Com_CreateThread(int(*fn)(void *), const char *name, void *data=nullptr)
renderer_threadstate_t r_threadstate
void Sys_Sleep(int milliseconds)
Calls the win32 sleep function.
void R_GetLevelSurfaceLists(void)
Fills the surface chains for the current worldlevel and hide other levels.
void R_SetupFrustum(void)
void R_ShutdownThreads(void)
#define THREAD_SLEEP_INTERVAL