From 0b0aa3b06fac0bcdeb31d5e2211d1ba149531692 Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Thu, 6 Oct 2022 14:30:48 -0400 Subject: GL renderer preparation --- threading.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'threading.cpp') 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 -- cgit v1.2.3