X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2FCommon%2Ffreeglut_gamemode.c;h=f69595c3b37aaaa80502b9068eca215c7d9701c5;hb=814beaa77f437cf4cf6cac9f748235488f6478a1;hp=d3df2bcd151deedc020e3368a2d6a02cdb6673c4;hpb=6c3c78f5fe46f0126e26dcae456ebdec502913f5;p=freeglut diff --git a/src/Common/freeglut_gamemode.c b/src/Common/freeglut_gamemode.c index d3df2bc..f69595c 100644 --- a/src/Common/freeglut_gamemode.c +++ b/src/Common/freeglut_gamemode.c @@ -80,7 +80,7 @@ static int xrandr_resize(int xsz, int ysz, int rate, int just_checking) XRRFreeScreenConfigInfo(xrr_config); } - if(!(xrr_config = XRRGetScreenInfo(fgDisplay.pDisplay.Display, fgDisplay.RootWindow))) { + if(!(xrr_config = XRRGetScreenInfo(fgDisplay.pDisplay.Display, fgDisplay.pDisplay.RootWindow))) { fgWarning("XRRGetScreenInfo failed"); break; } @@ -622,7 +622,7 @@ int FGAPIENTRY glutEnterGameMode( void ) Window child; /* Change to viewport to the window topleft edge: */ - if( !XF86VidModeSetViewPort( fgDisplay.pDisplay.Display, fgDisplay.Screen, 0, 0 ) ) + if( !XF86VidModeSetViewPort( fgDisplay.pDisplay.Display, fgDisplay.pDisplay.Screen, 0, 0 ) ) fgWarning( "XF86VidModeSetViewPort failed" ); /*