forked from len0rd/rockbox
quake: merge the remaining Pocket Quake PQ_OPT changes
I didn't do _OPT3 because it's disabled in the PQ source. This gives as +0.2FPS boost over the last commit. Change-Id: I9c3c8fb7bd23262beb810da6e9469d6b6c4b2a81
This commit is contained in:
parent
ee70dad305
commit
f5bb7fddec
7 changed files with 767 additions and 4 deletions
|
@ -43,6 +43,9 @@ qboolean r_dowarp, r_dowarpold, r_viewchanged;
|
|||
int numbtofpolys;
|
||||
btofpoly_t *pbtofpolys;
|
||||
mvertex_t *r_pcurrentvertbase;
|
||||
#ifdef USE_PQ_OPT2
|
||||
mvertex_fxp_t *r_pcurrentvertbase_fxp;
|
||||
#endif
|
||||
|
||||
int c_surf;
|
||||
int r_maxsurfsseen, r_maxedgesseen, r_cnumsurfs;
|
||||
|
@ -808,6 +811,10 @@ void R_DrawBEntitiesOnList (void)
|
|||
VectorCopy (modelorg, r_worldmodelorg);
|
||||
|
||||
r_pcurrentvertbase = clmodel->vertexes;
|
||||
|
||||
#ifdef USE_PQ_OPT2
|
||||
r_pcurrentvertbase_fxp = clmodel->vertexes_fxp;
|
||||
#endif
|
||||
|
||||
// FIXME: stop transforming twice
|
||||
R_RotateBmodel ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue