summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_8x13.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-01-03 20:59:52 -0500
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:05:25 +0100
commitf5e2799aa72815d864301d3da20693db89b62cad (patch)
tree38e8a13a38e840b9c4b5a5e7d40996e4444ef21c /src/glut/glx/glut_8x13.c
parent5d4c8eada5ca7340199fd379f3bad037c780c427 (diff)
downloadglut-f5e2799aa72815d864301d3da20693db89b62cad.tar.gz
Fix glut to work with -fvisibility=hidden
The GLUTAPI #define used in the header file to mark the font structs visible wasn't kicking in because of the #define glutBitmap9By15 XXX prior to #include <GL/glut.h>. High quality code... worked around by copying the GLUTAPI specifier to the invidual C files.
Diffstat (limited to 'src/glut/glx/glut_8x13.c')
-rw-r--r--src/glut/glx/glut_8x13.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glut/glx/glut_8x13.c b/src/glut/glx/glut_8x13.c
index 843c63d..f4e18eb 100644
--- a/src/glut/glx/glut_8x13.c
+++ b/src/glut/glx/glut_8x13.c
@@ -2064,6 +2064,7 @@ static const BitmapCharRec * const chars[] = {
&ch255,
};
+GLUTAPI const BitmapFontRec glutBitmap8By13;
const BitmapFontRec glutBitmap8By13 = {
"-misc-fixed-medium-r-normal--13-120-75-75-C-80-iso8859-1",
256,