From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/parsec/include/vsdl_ogl.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/parsec/include/vsdl_ogl.h (limited to 'src/parsec/include/vsdl_ogl.h') 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 +#else +#include +#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_ + + -- cgit v1.2.3