This function is used only by GTK in this QEMU version. The function
causes issues for us, because it depends on the Window type, which is an
X11-specific EGL alias. Therefore, the signature as is causes a build
error on all non-Linux platforms. We could #define this type away, but
since the function is not used anyway, it is probably better to not care
about it at all.
Change-Id: I122e6976de88760bcaa762daa70e93e6162edc18
#endif
+#ifdef CONFIG_GTK
+
EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
+#endif
+
int qemu_egl_init_dpy(EGLNativeDisplayType dpy, bool gles, bool debug);
EGLContext qemu_egl_init_ctx(void);
/* ---------------------------------------------------------------------- */
+#ifdef CONFIG_GTK
+
EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win)
{
EGLSurface esurface;
return esurface;
}
+#endif /* CONFIG_GTK */
+
/* ---------------------------------------------------------------------- */
int qemu_egl_init_dpy(EGLNativeDisplayType dpy, bool gles, bool debug)