sdl: don't try gl on remote displays
[libpicofe.git] / gl.h
diff --git a/gl.h b/gl.h
index cb48071..8b7d43c 100644 (file)
--- a/gl.h
+++ b/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;