summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
793dce4)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@932
7f0cb862-5218-0410-a997-
914c9d46530a
+/*** END OF FILE ***/
\ No newline at end of file
if( gameMode )
{
/* if in gamemode, query the origin of specified by the -display
if( gameMode )
{
/* if in gamemode, query the origin of specified by the -display
- * parameter command line (if any) and offset the upper-left corner
+ * command line parameter (if any) and offset the upper-left corner
* of the window so we create the window on that screen.
* The -display argument doesn't do anything if not trying to enter
* gamemode.
* of the window so we create the window on that screen.
* The -display argument doesn't do anything if not trying to enter
* gamemode.
+#if(WINVER >= 0x0500) /* Windows 2000 or later */
DWORD s;
RECT rect;
HMONITOR hMonitor;
DWORD s;
RECT rect;
HMONITOR hMonitor;
rect.left = 0;
rect.top = 0;
rect.left = 0;
rect.top = 0;
- get_display_origin(&rect.left,&rect.top);
- rect.right = fgDisplay.ScreenWidth+rect.left;
- rect.bottom = fgDisplay.ScreenHeight+rect.top;
+ rect.right = fgDisplay.ScreenWidth;
+ rect.bottom = fgDisplay.ScreenHeight;
AdjustWindowRect ( &rect, WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS |
WS_CLIPCHILDREN, FALSE );
AdjustWindowRect ( &rect, WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS |
WS_CLIPCHILDREN, FALSE );