trashed stack/hunk alignment code assumptions with sw

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2900 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2008-02-02 07:27:10 +00:00
parent dd4e46f220
commit 14baffd9b6

View file

@ -57,8 +57,6 @@ int r_clipflags;
qbyte *r_warpbuffer; qbyte *r_warpbuffer;
qbyte *r_stack_start;
qboolean r_fov_greater_than_90; qboolean r_fov_greater_than_90;
entity_t r_worldentity; entity_t r_worldentity;
@ -242,10 +240,10 @@ R_Init
*/ */
void SWR_Init (void) void SWR_Init (void)
{ {
int dummy; //int dummy;
// get stack position so we can guess if we are going to overflow // get stack position so we can guess if we are going to overflow
r_stack_start = (qbyte *)&dummy; //r_stack_start = (qbyte *)&dummy;
R_InitTurb (); R_InitTurb ();
@ -1302,7 +1300,7 @@ R_RenderView
r_refdef must be set before the first call r_refdef must be set before the first call
================ ================
*/ */
void SWR_RenderView_ (void) void SWR_RenderView (void)
{ {
qbyte warpbuffer[WARP_WIDTH * WARP_HEIGHT]; qbyte warpbuffer[WARP_WIDTH * WARP_HEIGHT];
@ -1418,6 +1416,7 @@ SetVisibilityByPassages ();
Sys_HighFPPrecision (); Sys_HighFPPrecision ();
} }
/*
void SWR_RenderView (void) void SWR_RenderView (void)
{ {
int dummy; int dummy;
@ -1438,6 +1437,7 @@ void SWR_RenderView (void)
SWR_RenderView_ (); SWR_RenderView_ ();
} }
*/
/* /*
================ ================