Doxygen Source Code Documentation
glut_fullscrn.c File Reference
#include <X11/Xlib.h>
#include "glutint.h"
Go to the source code of this file.
Functions | |
void | glutFullScreen (void) |
Function Documentation
|
Definition at line 13 of file glut_fullscrn.c. References __glutPutOnWorkList(), __glutWarning(), GLUT_CONFIGURE_WORK, and GLUT_FULL_SCREEN_WORK.
00014 { 00015 if (__glutMotifHints == None) { 00016 __glutMotifHints = XInternAtom(__glutDisplay, "_MOTIF_WM_HINTS", 0); 00017 if (__glutMotifHints == None) { 00018 __glutWarning("Could not intern X atom for WM_COLORMAP_WINDOWS."); 00019 } 00020 } 00021 __glutCurrentWindow->desiredX = 0; 00022 __glutCurrentWindow->desiredY = 0; 00023 __glutCurrentWindow->desiredWidth = __glutScreenWidth; 00024 __glutCurrentWindow->desiredHeight = __glutScreenHeight; 00025 __glutCurrentWindow->desiredConfMask |= CWX | CWY | CWWidth | CWHeight; 00026 __glutPutOnWorkList(__glutCurrentWindow, 00027 GLUT_CONFIGURE_WORK | GLUT_FULL_SCREEN_WORK); 00028 } |