From b8326b011d9b16dcc502507a52bd747a4b709399 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Sun, 3 Jan 2010 20:59:52 -0500 Subject: 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 . High quality code... worked around by copying the GLUTAPI specifier to the invidual C files. --- src/glut/glx/glut_tr24.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glut/glx/glut_tr24.c') diff --git a/src/glut/glx/glut_tr24.c b/src/glut/glx/glut_tr24.c index 22b0e51603..5db9d36e19 100644 --- a/src/glut/glx/glut_tr24.c +++ b/src/glut/glx/glut_tr24.c @@ -2051,6 +2051,7 @@ static const BitmapCharRec * const chars[] = { &ch255, }; +GLUTAPI const BitmapFontRec glutBitmapTimesRoman24; const BitmapFontRec glutBitmapTimesRoman24 = { "-adobe-times-medium-r-normal--24-240-75-75-p-124-iso8859-1", 224, -- cgit v1.2.3