path:
root/
glproto.h (
plain)
blob: 91af62f7d54b35ef200a27c93b9aece1ccd3b5ec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef GLPROTO_H
#define GLPROTO_H
#include <SDL_opengl.h>
#define GL_FUNC(ret, name, args) extern ret (APIENTRYP P##name) args
#include "glproto.h"
#undef GL_FUNC
int glproto_connect();
#endif
/* list of dynamic GL function prototypes */
#ifdef GL_FUNC
/* NOTE: (from gl.h specifications to GL_FUNCs) s/GLAPI (.+) GLAPIENTRY (\w+)(\(.*\))/GL_FUNC(\1, \2, \3)/g */
/* currently empty; functions from GL extensions will be added here */
#endif
|