started writing some 3d pipeline stuff
[dosdemo] / src / polytest.c
diff --git a/src/polytest.c b/src/polytest.c
new file mode 100644 (file)
index 0000000..fb8d9af
--- /dev/null
@@ -0,0 +1,33 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "screen.h"
+
+static int init(void);
+static void destroy(void);
+static void draw(void);
+
+static struct screen scr = {
+       "polytest",
+       init,
+       destroy,
+       0, 0,
+       draw
+};
+
+struct screen *polytest_screen(void)
+{
+       return &scr;
+}
+
+static int init(void)
+{
+       return 0;
+}
+
+static void destroy(void)
+{
+}
+
+static void draw(void)
+{
+}