mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-18 23:21:39 +00:00
* Ditch Mac OS 9 support
This commit is contained in:
parent
1b314e8934
commit
796ba11301
3 changed files with 0 additions and 44 deletions
|
@ -114,24 +114,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#endif
|
||||
|
||||
//=================================================================== MAC ===
|
||||
|
||||
#ifdef __MACOS__
|
||||
|
||||
#include <MacTypes.h>
|
||||
|
||||
#define OS_STRING "macos"
|
||||
#define ID_INLINE inline
|
||||
#define PATH_SEP ':'
|
||||
|
||||
#define ARCH_STRING "ppc"
|
||||
|
||||
void Sys_PumpEvents( void );
|
||||
|
||||
#define Q3_BIG_ENDIAN
|
||||
|
||||
#endif
|
||||
|
||||
//================================================================= LINUX ===
|
||||
|
||||
#ifdef __linux__
|
||||
|
|
|
@ -526,15 +526,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
|
|||
drawSurf_t *drawSurf;
|
||||
int oldSort;
|
||||
float originalTime;
|
||||
#ifdef __MACOS__
|
||||
int macEventTime;
|
||||
|
||||
Sys_PumpEvents(); // crutch up the mac's limited buffer queue size
|
||||
|
||||
// we don't want to pump the event loop too often and waste time, so
|
||||
// we are going to check every shader change
|
||||
macEventTime = ri.Milliseconds() + MAC_EVENT_PUMP_MSEC;
|
||||
#endif
|
||||
|
||||
// save original time for entity shader offsets
|
||||
originalTime = backEnd.refdef.floatTime;
|
||||
|
@ -570,15 +561,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
|
|||
if (shader != oldShader || fogNum != oldFogNum || dlighted != oldDlighted
|
||||
|| ( entityNum != oldEntityNum && !shader->entityMergable ) ) {
|
||||
if (oldShader != NULL) {
|
||||
#ifdef __MACOS__ // crutch up the mac's limited buffer queue size
|
||||
int t;
|
||||
|
||||
t = ri.Milliseconds();
|
||||
if ( t > macEventTime ) {
|
||||
macEventTime = t + MAC_EVENT_PUMP_MSEC;
|
||||
Sys_PumpEvents();
|
||||
}
|
||||
#endif
|
||||
RB_EndSurface();
|
||||
}
|
||||
RB_BeginSurface( shader, fogNum );
|
||||
|
@ -664,10 +646,6 @@ void RB_RenderDrawSurfList( drawSurf_t *drawSurfs, int numDrawSurfs ) {
|
|||
|
||||
// add light flares on lights that aren't obscured
|
||||
RB_RenderFlares();
|
||||
|
||||
#ifdef __MACOS__
|
||||
Sys_PumpEvents(); // crutch up the mac's limited buffer queue size
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -919,11 +919,7 @@ void R_Register( void )
|
|||
r_finish = ri.Cvar_Get ("r_finish", "0", CVAR_ARCHIVE);
|
||||
r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_NEAREST", CVAR_ARCHIVE );
|
||||
r_swapInterval = ri.Cvar_Get( "r_swapInterval", "0", CVAR_ARCHIVE );
|
||||
#ifdef __MACOS__
|
||||
r_gamma = ri.Cvar_Get( "r_gamma", "1.2", CVAR_ARCHIVE );
|
||||
#else
|
||||
r_gamma = ri.Cvar_Get( "r_gamma", "1", CVAR_ARCHIVE );
|
||||
#endif
|
||||
r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE );
|
||||
|
||||
r_railWidth = ri.Cvar_Get( "r_railWidth", "16", CVAR_ARCHIVE );
|
||||
|
|
Loading…
Reference in a new issue