X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_internal.h;h=4792ad83c841445f81b804fe67c3d18fb508e23b;hb=5d2b6aa3e2c786eac40ee9154e5ce3c181d2d52b;hp=6974dd33b8b5810d29e7fe22944efde8172a0460;hpb=75c76b69c97acea662e41c261dc90324d8906825;p=freeglut diff --git a/src/fg_internal.h b/src/fg_internal.h index 6974dd3..4792ad8 100644 --- a/src/fg_internal.h +++ b/src/fg_internal.h @@ -45,6 +45,9 @@ #elif defined (__ANDROID__) # define TARGET_HOST_ANDROID 1 +#elif defined (__QNX__) +# define TARGET_HOST_BLACKBERRY 1 + #elif defined(__posix__) || defined(__unix__) || defined(__linux__) || defined(__sun) # define TARGET_HOST_POSIX_X11 1 @@ -184,6 +187,9 @@ #if TARGET_HOST_ANDROID #include "android/fg_internal_android.h" #endif +#if TARGET_HOST_BLACKBERRY +#include "blackberry/fg_internal_blackberry.h" +#endif /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */ @@ -372,7 +378,7 @@ struct tagSFG_Context int DoubleBuffered; /* Treat the window as double-buffered */ - /* When drawing geometry to vertex attribute buffers, user specifies + /* When drawing geometry to vertex attribute buffers, user specifies * the attribute indices for vertices, normals and/or texture coords * to freeglut. Those are stored here */ @@ -392,6 +398,7 @@ struct tagSFG_Context #define GLUT_SIZE_WORK (1<<3) #define GLUT_ZORDER_WORK (1<<4) #define GLUT_FULL_SCREEN_WORK (1<<5) +#define GLUT_DISPLAY_WORK (1<<6) /* * An enumeration containing the state of the GLUT execution: @@ -457,12 +464,8 @@ struct tagSFG_WindowState /* as per notes above, sizes always refer to the cli int DesiredZOrder; /* desired window Z Order position */ fgDesiredVisibility DesiredVisibility;/* desired visibility (hidden, iconic, shown/normal) */ - SFG_PlatformWindowState pWState; /* Window width/height (X11) or rectangle/style (Windows) from before a resize, and other stuff only needed on specific platforms */ - GLboolean Redisplay; /* Do we have to redisplay? */ - - long JoystickPollRate; /* The joystick polling rate */ fg_time_t JoystickLastPoll; /* When the last poll happened */