26 lines
467 B
C
26 lines
467 B
C
|
|
#ifndef INSGL_H_INCLUDED
|
||
|
|
#define INSGL_H_INCLUDED
|
||
|
|
|
||
|
|
#include <BaseTypes.h>
|
||
|
|
|
||
|
|
#ifdef COMPILE_IN_WINDOWS
|
||
|
|
|
||
|
|
#include <windows.h>
|
||
|
|
extern HWND InsRenderHwnd;
|
||
|
|
Bool InitGL();
|
||
|
|
|
||
|
|
#else
|
||
|
|
|
||
|
|
Bool InitGL(Int32 x, Int32 y, Int32 w, Int32 h, Int32 *rtw, Int32 *rth);
|
||
|
|
|
||
|
|
Bool InitGL_FB1(Int32 x, Int32 y, Int32 w, Int32 h, Int32 *rtw, Int32 *rth);
|
||
|
|
Bool SwapGLBuffer_FB1();
|
||
|
|
void DeInitGL_FB1();
|
||
|
|
|
||
|
|
#endif // COMPILE_IN_WINDOWS
|
||
|
|
|
||
|
|
Bool SwapGLBuffer();
|
||
|
|
void DeInitGL();
|
||
|
|
|
||
|
|
#endif // INSGL_H_INCLUDED
|