Keep the X11 decoration-zapping code confined to X11-using platforms! Oops!

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@156 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
puggles 2003-08-04 02:08:05 +00:00
parent b9f20e5d87
commit 6e4af43b5f

View File

@ -33,7 +33,6 @@
#include "../include/GL/freeglut.h"
#include "freeglut_internal.h"
#include "mwmborder.c"
/*
* TODO BEFORE THE STABLE RELEASE:
@ -64,6 +63,9 @@
* Chooses a visual basing on the current display mode settings
*/
#if TARGET_HOST_UNIX_X11
#include "mwmborder.c" /* Brian Paul's decoration-zapping code. */
XVisualInfo* fgChooseVisual( void )
{
int bufferSize[] = { 16, 12, 8, 4, 2, 1 };