mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
add some VideCore/R-pi support code
This commit is contained in:
parent
e54719efea
commit
0d645bc539
5 changed files with 153 additions and 7 deletions
18
gl.h
18
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue