summaryrefslogtreecommitdiff
path: root/threading.cpp
diff options
context:
space:
mode:
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