diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index f8ee04b11..57608f287 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -1285,10 +1285,12 @@ qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette) { return X11VID_Init(info, palette, PSL_GLX); } +#ifdef USE_EGL qboolean EGLVID_Init (rendererstate_t *info, unsigned char *palette) { return X11VID_Init(info, palette, PSL_EGL); } +#endif void Sys_SendKeyEvents(void) {