diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-10-06 14:30:48 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-10-06 14:30:48 -0400 |
commit | 0b0aa3b06fac0bcdeb31d5e2211d1ba149531692 (patch) | |
tree | 91f0d9689151b7fb985de50b2c8b12ccd7a65440 /threading.cpp | |
parent | a4c1e537b0cb2540535357d880e46f63b38c134f (diff) |
GL renderer preparation
Diffstat (limited to 'threading.cpp')
-rw-r--r-- | threading.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/threading.cpp b/threading.cpp index c1cfe5c..ff891a6 100644 --- a/threading.cpp +++ b/threading.cpp @@ -1,3 +1,14 @@ + +static int +MainRenderer(void *ptr) +{ + for(;;) + { + SDL_SemWait(Semaphore); + } +} + +#if 0 static void PushRect(rectangle RenderRegion) { @@ -44,3 +55,4 @@ TestThread(void *ptr) } } } +#endif |