X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_state_x11_glx.c;h=1b8dd18149900d0951c209a950498e827508c94d;hb=2c12c9eb8d63cabac2d4113b4f54fdf53da8368c;hp=bd2b35e1f03f5c8f121132f62c9d7bcdc8b4e7c3;hpb=6affa9c301ebc731618321b565fbdacb760128ce;p=freeglut diff --git a/src/x11/fg_state_x11_glx.c b/src/x11/fg_state_x11_glx.c index bd2b35e..1b8dd18 100644 --- a/src/x11/fg_state_x11_glx.c +++ b/src/x11/fg_state_x11_glx.c @@ -27,6 +27,7 @@ #include #include "fg_internal.h" +#include "x11/fg_window_x11_glx.h" /* * Queries the GL context about some attributes @@ -34,7 +35,7 @@ int fgPlatformGetConfig( int attribute ) { int returnValue = 0; - int result; /* Not checked */ + int result __fg_unused; /* Not checked */ if( fgStructure.CurrentWindow ) result = glXGetFBConfigAttrib( fgDisplay.pDisplay.Display, @@ -93,7 +94,7 @@ int fghPlatformGlutGetGLX ( GLenum eWhat ) return fghChooseConfig(&config); } - /* This is system-dependant */ + /* This is system-dependent */ case GLUT_WINDOW_FORMAT_ID: if( fgStructure.CurrentWindow == NULL ) return 0; @@ -170,7 +171,7 @@ int *fgPlatformGlutGetModeValues(GLenum eWhat, int *size) if (fbconfigArray != NULL) { int * temp_array; - int result; /* Returned by glXGetFBConfigAttrib. Not checked. */ + int result __fg_unused; /* Returned by glXGetFBConfigAttrib. Not checked. */ int previous_value; int i;