X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_internal.h;h=8c0be9b984361ff4d1a3d279a3c55bb35ae5025b;hb=877862d97a18a5ee6231d46bf7e3fb63b6cada39;hp=6c1060f65dc6c181f2c84ba2c1401fb0639d2111;hpb=4af25b80ace1e391f8886771bdf16c1db2a850f6;p=freeglut diff --git a/src/fg_internal.h b/src/fg_internal.h index 6c1060f..8c0be9b 100644 --- a/src/fg_internal.h +++ b/src/fg_internal.h @@ -32,6 +32,8 @@ # include "config.h" #endif +#include "fg_version.h" + /* Freeglut is intended to function under all Unix/X11 and Win32 platforms. */ /* XXX: Don't all MS-Windows compilers (except Cygwin) have _WIN32 defined? * XXX: If so, remove the first set of defined()'s below. @@ -45,7 +47,7 @@ #elif defined (__ANDROID__) # define TARGET_HOST_ANDROID 1 -#elif defined (__QNXNTO__) +#elif defined (__QNXNTO__) || defined (__PLAYBOOK__) # define TARGET_HOST_BLACKBERRY 1 #elif defined(__posix__) || defined(__unix__) || defined(__linux__) || defined(__sun) @@ -71,6 +73,14 @@ # define TARGET_HOST_MS_WINDOWS 0 #endif +#ifndef TARGET_HOST_ANDROID +# define TARGET_HOST_ANDROID 0 +#endif + +#ifndef TARGET_HOST_BLACKBERRY +# define TARGET_HOST_BLACKBERRY 0 +#endif + #ifndef TARGET_HOST_POSIX_X11 # define TARGET_HOST_POSIX_X11 0 #endif @@ -332,6 +342,8 @@ struct tagSFG_State GLboolean SkipStaleMotion; /* skip stale motion events */ + GLboolean StrokeFontDrawJoinDots;/* Draw dots between line segments of stroke fonts? */ + int MajorVersion; /* Major OpenGL context version */ int MinorVersion; /* Minor OpenGL context version */ int ContextFlags; /* OpenGL context flags */