X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_state_x11.c;h=3aa19b1a7f9e56caa1bc3e9d57090e41d293aa86;hb=56cc35535901ef071bf8acab59ba176355ee3e0e;hp=976531978c102440305fe7c6dd200d93f69e8050;hpb=b744f1401b990f642e96d4c65cc86eca5224efd1;p=freeglut diff --git a/src/x11/fg_state_x11.c b/src/x11/fg_state_x11.c index 9765319..3aa19b1 100644 --- a/src/x11/fg_state_x11.c +++ b/src/x11/fg_state_x11.c @@ -26,7 +26,12 @@ */ #include -#include "../fg_internal.h" +#include "fg_internal.h" +#ifdef EGL_VERSION_1_0 +#include "egl/fg_state_egl.h" +#else +#include "x11/fg_state_x11_glx.h" +#endif int fgPlatformGlutDeviceGet ( GLenum eWhat ) {