blob: 5771bbb57795c44d9b425c5eb40c0fc200d35fbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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_
|