Removing an extraneous "#if TARGET_HOST_POSIX_X11" and putting the path into the "#include" statements for "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1062 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
1077bc750d
commit
a370bd34d2
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
void fgPlatformGlutSwapBuffers( SFG_PlatformDisplay *pDisplayPtr, SFG_Window* CurrentWindow )
|
||||
{
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#define GLX_GLXEXT_PROTOTYPES
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
GLUTproc fgPlatformGlutGetProcAddress( const char* procName )
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
static int xrandr_resize(int xsz, int ysz, int rate, int just_checking)
|
||||
{
|
||||
|
@ -71,9 +71,7 @@
|
||||
#undef glutBitmapHelvetica12
|
||||
#undef glutBitmapHelvetica18
|
||||
|
||||
#include "freeglut_internal.h"
|
||||
|
||||
#if TARGET_HOST_POSIX_X11
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
struct freeglutStrokeFont
|
||||
{
|
||||
@ -104,5 +102,3 @@ struct freeglutBitmapFont glutBitmapHelvetica10 ;
|
||||
struct freeglutBitmapFont glutBitmapHelvetica12 ;
|
||||
struct freeglutBitmapFont glutBitmapHelvetica18 ;
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define FREEGLUT_BUILDING_LIB
|
||||
#include <limits.h> /* LONG_MAX */
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
/* Return the atom associated with "name". */
|
||||
static Atom fghGetAtom(const char * name)
|
||||
|
@ -35,7 +35,7 @@
|
||||
#endif
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
#ifdef HAVE_ERRNO_H
|
||||
# include <errno.h>
|
||||
#endif
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
/*
|
||||
* * Private function to get the virtual maximum screen extent
|
||||
|
@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <GL/freeglut.h>
|
||||
#include <limits.h> /* LONG_MAX */
|
||||
#include <unistd.h> /* usleep */
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
/* pushing attribute/value pairs into an array */
|
||||
#define ATTRIB(a) attributes[where++]=(a)
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <GL/freeglut.h>
|
||||
|
||||
#include "freeglut_internal.h"
|
||||
#include "../Common/freeglut_internal.h"
|
||||
|
||||
#if HAVE_X11_EXTENSIONS_XINPUT2_H
|
||||
|
||||
|
Reference in New Issue
Block a user