aboutsummaryrefslogtreecommitdiff
path: root/src/parsec/include/vsdl_ogl.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/parsec/include/vsdl_ogl.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
Diffstat (limited to 'src/parsec/include/vsdl_ogl.h')
-rw-r--r--src/parsec/include/vsdl_ogl.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/parsec/include/vsdl_ogl.h b/src/parsec/include/vsdl_ogl.h
new file mode 100644
index 0000000..5771bbb
--- /dev/null
+++ b/src/parsec/include/vsdl_ogl.h
@@ -0,0 +1,41 @@
+/*
+ * PARSEC HEADER: vsdl_ogl.h
+ */
+
+#ifndef _VSDL_OGL_H_
+#define _VSDL_OGL_H_
+
+#ifdef SYSTEM_TARGET_LINUX
+#include <SDL/SDL.h>
+#else
+#include <SDL.h>
+#endif
+
+
+#if SDL_VERSION_ATLEAST(2, 0, 0)
+
+extern SDL_Window * curwindow;
+extern SDL_GLContext curcontext;
+
+#endif
+
+
+// external functions
+
+
+void VSDL_CommitOGLBuff();
+
+int VSDL_InitOGLInterface( int printmodelistflags );
+int VSDL_InitOGLMode();
+
+void VSDL_CalcProjectiveMatrix();
+void VSDL_CalcOrthographicMatrix();
+
+void VSDL_ShutDownOGL();
+
+void SDL_RCDisplayInfo();
+
+
+#endif // _VSDL_OGL_H_
+
+