| 2 |
|
#ifndef ONI_GL_H |
| 3 |
|
#define ONI_GL_H |
| 4 |
|
|
| 5 |
< |
#include <GL/GL.h> |
| 5 |
> |
#include <GL/gl.h> |
| 6 |
|
|
| 7 |
|
#include "Daodan.h" |
| 8 |
|
#include "BFW_Motoko_Draw.h" |
| 439 |
|
GLint (WINAPI *wglGetDeviceGammaRamp3DFX)(HDC, GLvoid *); |
| 440 |
|
} gl_api_t; |
| 441 |
|
|
| 442 |
– |
extern gl_engine_t* gl; |
| 443 |
– |
extern gl_api_t* gl_api; |
| 442 |
|
|
| 445 |
– |
extern WORD gl_gamma_ramp[3 * 256]; |
| 446 |
– |
extern int gl_gamma_ramp_valid; |
| 443 |
|
|
| 448 |
– |
unsigned int ONICALL gl_enumerate_valid_display_modes(M3tDisplayMode modes[16]); |
| 449 |
– |
int ONICALL gl_platform_set_pixel_format(HDC hdc); |
| 450 |
– |
int ONICALL gl_platform_initialize(); |
| 444 |
|
|
| 445 |
|
#endif |