mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-12 13:42:21 +00:00
Misc. cleanups.
This commit is contained in:
parent
89842bdf60
commit
9058b26f56
2 changed files with 10 additions and 8 deletions
|
@ -40,9 +40,9 @@ SVGALDFLAGS=-lvga
|
|||
XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext
|
||||
XCFLAGS=
|
||||
|
||||
GLLDFLAGS=-L/usr/local/glide/lib -L/usr/X11R6/lib -L/usr/local/lib \
|
||||
-lGL -lX11 -lXext -lvga
|
||||
GLCFLAGS=-I/usr/local/src/Mesa-2.6/include -I/usr/local/glide/include
|
||||
GLLDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib \
|
||||
-lGL -lX11 -lXext -lpthread
|
||||
GLCFLAGS=
|
||||
|
||||
SHLIBEXT=so
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ static int StudlyRGBattributes[] =
|
|||
GLX_GREEN_SIZE, 4,
|
||||
GLX_BLUE_SIZE, 4,
|
||||
GLX_DEPTH_SIZE, 1,
|
||||
// GLX_SAMPLES_SGIS, 4, /* for better AA */
|
||||
None,
|
||||
};
|
||||
|
||||
|
@ -420,23 +421,25 @@ qboolean GLimp_InitGraphics( qboolean fullscreen )
|
|||
|
||||
// set window properties for full screen
|
||||
if (fullscreen) {
|
||||
//MotifWmHints wmhints;
|
||||
//Atom aHints;
|
||||
// MotifWmHints wmhints;
|
||||
Atom aHints;
|
||||
XSizeHints sizehints;
|
||||
XWindowChanges changes;
|
||||
/*
|
||||
|
||||
aHints = XInternAtom( x_disp, "_MOTIF_WM_HINTS", 0 );
|
||||
if (aHints == None)
|
||||
{
|
||||
ri.Con_Printf( PRINT_ALL, "Could not intern X atom for _MOTIF_WM_HINTS." );
|
||||
// return( false );
|
||||
/* return( false ); */
|
||||
}
|
||||
else {
|
||||
#if 0
|
||||
wmhints.flags = MWM_HINTS_DECORATIONS;
|
||||
wmhints.decorations = 0; // Absolutely no decorations.
|
||||
XChangeProperty(x_disp, x_win, aHints, aHints, 32,
|
||||
PropModeReplace, (unsigned char *)&wmhints,
|
||||
4 );
|
||||
#endif
|
||||
|
||||
sizehints.flags = USPosition | USSize;
|
||||
sizehints.x = 0;
|
||||
|
@ -454,7 +457,6 @@ qboolean GLimp_InitGraphics( qboolean fullscreen )
|
|||
CWX | CWY | CWWidth | CWHeight | CWStackMode,
|
||||
&changes);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// map the window
|
||||
|
|
Loading…
Reference in a new issue