wgl_ctx.c - ifdef HAVE_EGL portions of code