mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
sdl: don't try gl on remote displays
This commit is contained in:
parent
39639dd1da
commit
c668921a45
3 changed files with 28 additions and 3 deletions
8
gl.h
8
gl.h
|
@ -3,8 +3,9 @@
|
|||
|
||||
#ifdef HAVE_GLES
|
||||
|
||||
int gl_init(void *display, void *window, int *quirks);
|
||||
int gl_flip(const void *fb, int w, int h);
|
||||
int gl_init(void *display, void *window, int *quirks);
|
||||
void gl_announce(void);
|
||||
int gl_flip(const void *fb, int w, int h);
|
||||
void gl_finish(void);
|
||||
|
||||
/* for external flips */
|
||||
|
@ -17,6 +18,9 @@ static __inline int gl_init(void *display, void *window, int *quirks)
|
|||
{
|
||||
return -1;
|
||||
}
|
||||
static void gl_announce(void)
|
||||
{
|
||||
}
|
||||
static __inline int gl_flip(const void *fb, int w, int h)
|
||||
{
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue