diff options
Diffstat (limited to 'src/parsec/include/vsdl_ogl.h')
| -rw-r--r-- | src/parsec/include/vsdl_ogl.h | 41 |
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_ + + |
