Ticket #15469: patch-sources.diff
File patch-sources.diff, 1.4 KB (added by kintel@…, 16 years ago) |
---|
-
../src/FTVectoriser.cpp
5 5 #define CALLBACK 6 6 #endif 7 7 8 #ifdef __APPLE_CC__ 9 typedef GLvoid (*GLUTesselatorFunction)(...); 10 #elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) 11 typedef GLvoid (*GLUTesselatorFunction)(); 12 #elif defined ( WIN32) 13 typedef GLvoid (CALLBACK *GLUTesselatorFunction)( ); 8 #if defined __APPLE_CC__ && __APPLE_CC__ < 5465 9 typedef GLvoid (*GLUTesselatorFunction) (...); 10 #elif defined WIN32 && !defined __CYGWIN__ 11 typedef GLvoid (CALLBACK *GLUTesselatorFunction) (); 14 12 #else 15 #error "Error - need to define type GLUTesselatorFunction for this platform/compiler"13 typedef GLvoid (*GLUTesselatorFunction) (); 16 14 #endif 17 15 18 19 16 void CALLBACK ftglError( GLenum errCode, FTMesh* mesh) 20 17 { 21 18 mesh->Error( errCode); -
../demo/FTGLDemo.cpp
21 21 #define FONT_FILE "/usr/share/fonts/truetype/arial.ttf" 22 22 #endif 23 23 #ifdef __APPLE_CC__ 24 #define FONT_FILE "/ Users/henry/Development/PROJECTS/FTGL/test/font_pack/arial.ttf"24 #define FONT_FILE "/Library/Fonts/Arial.ttf" 25 25 #endif 26 26 #ifdef WIN32 27 27 #define FONT_FILE "C:\\WINNT\\Fonts\\arial.ttf"