summaryrefslogtreecommitdiff
path: root/threading.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-10-06 14:30:48 -0400
committerFox Caminiti <fox@foxcam.net>2022-10-06 14:30:48 -0400
commit0b0aa3b06fac0bcdeb31d5e2211d1ba149531692 (patch)
tree91f0d9689151b7fb985de50b2c8b12ccd7a65440 /threading.cpp
parenta4c1e537b0cb2540535357d880e46f63b38c134f (diff)
GL renderer preparation
Diffstat (limited to 'threading.cpp')
-rw-r--r--threading.cpp12
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