X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_state_x11_glx.c;fp=src%2Fx11%2Ffg_state_x11_glx.c;h=468819654ea84b2aab2f4c214c18dae7e7c3a991;hb=026a20d0a52fc7922f694171616f0291c9b0514c;hp=bd2b35e1f03f5c8f121132f62c9d7bcdc8b4e7c3;hpb=0e653a9d94fec583f7a4172b721c1c599e06cbc8;p=freeglut diff --git a/src/x11/fg_state_x11_glx.c b/src/x11/fg_state_x11_glx.c index bd2b35e..4688196 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, @@ -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;