diff options
author | Kristian Høgsberg <[email protected]> | 2010-01-03 20:59:52 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-01-03 20:59:56 -0500 |
commit | b8326b011d9b16dcc502507a52bd747a4b709399 (patch) | |
tree | f96317eb5fb05b48e34633b20f07febaf5b1196d /src/glut/glx/glut_hel10.c | |
parent | 8d62eb45997a199e116661e26217b4d44fb9ba1e (diff) |
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_hel10.c')
-rw-r--r-- | src/glut/glx/glut_hel10.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glut/glx/glut_hel10.c b/src/glut/glx/glut_hel10.c index 703cef38f26..3de1750ce6c 100644 --- a/src/glut/glx/glut_hel10.c +++ b/src/glut/glx/glut_hel10.c @@ -1769,6 +1769,7 @@ static const BitmapCharRec * const chars[] = { &ch255, }; +GLUTAPI const BitmapFontRec glutBitmapHelvetica10; const BitmapFontRec glutBitmapHelvetica10 = { "-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1", 224, |