Allowing "freeglut" to compile without errors under *nix. Before this, there were problems with conflicting definitions of the GLUT font definitions.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@760 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
aebd3ade65
commit
fe55b7f706
@ -54,15 +54,6 @@ struct freeglutStrokeFont
|
|||||||
float bottom ;
|
float bottom ;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct freeglutBitmapFont
|
|
||||||
{
|
|
||||||
const char *name ;
|
|
||||||
const int num_chars ;
|
|
||||||
const int first ;
|
|
||||||
const void *ch ;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct freeglutStrokeFont glutStrokeRoman ;
|
struct freeglutStrokeFont glutStrokeRoman ;
|
||||||
struct freeglutStrokeFont glutStrokeMonoRoman ;
|
struct freeglutStrokeFont glutStrokeMonoRoman ;
|
||||||
|
|
||||||
|
@ -687,6 +687,18 @@ struct tagSFG_Font
|
|||||||
float xorig, yorig; /* Relative origin of the character */
|
float xorig, yorig; /* Relative origin of the character */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if TARGET_HOST_POSIX_X11
|
||||||
|
|
||||||
|
struct freeglutBitmapFont
|
||||||
|
{
|
||||||
|
const char *name ;
|
||||||
|
const int num_chars ;
|
||||||
|
const int first ;
|
||||||
|
const void *ch ;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The stroke font structures */
|
/* The stroke font structures */
|
||||||
|
|
||||||
typedef struct tagSFG_StrokeVertex SFG_StrokeVertex;
|
typedef struct tagSFG_StrokeVertex SFG_StrokeVertex;
|
||||||
|
Reference in New Issue
Block a user