X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gl.h;h=83b9e41135aab1a38d09194318506c03fda49e97;hb=4db02226eb3c80f49f5c412f7718c437c5e817fc;hp=9925dac14671fa96cec34f9d788f68c186701942;hpb=b98018548fb60e1ed7d417dae0e54864a9d2d272;p=libpicofe.git diff --git a/gl.h b/gl.h index 9925dac..83b9e41 100644 --- a/gl.h +++ b/gl.h @@ -1,13 +1,23 @@ #ifdef HAVE_GLES -int gl_init(void *display, void *window); +int gl_init(void *display, void *window, int *quirks); int gl_flip(const void *fb, int w, int h); void gl_finish(void); #else -static __inline int gl_init(void *display, void *window) { return -1; } -static __inline int gl_flip(const void *fb, int w, int h) { return -1; } -static __inline void gl_finish(void) {} +static __inline int gl_init(void *display, void *window, int *quirks) +{ + return -1; +} +static __inline int gl_flip(const void *fb, int w, int h) +{ + return -1; +} +static __inline void gl_finish(void) +{ +} #endif + +#define GL_QUIRK_ACTIVATE_RECREATE 1