Commit | Line | Data |
---|---|---|
1 | #ifdef HAVE_GLES | |
2 | ||
3 | int gl_init(void *display, void *window, int *quirks); | |
4 | int gl_flip(const void *fb, int w, int h); | |
5 | void gl_finish(void); | |
6 | ||
7 | #else | |
8 | ||
9 | static __inline int gl_init(void *display, void *window, int *quirks) | |
10 | { | |
11 | return -1; | |
12 | } | |
13 | static __inline int gl_flip(const void *fb, int w, int h) | |
14 | { | |
15 | return -1; | |
16 | } | |
17 | static __inline void gl_finish(void) | |
18 | { | |
19 | } | |
20 | ||
21 | #endif | |
22 | ||
23 | #define GL_QUIRK_ACTIVATE_RECREATE 1 |