summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/quake/r_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/quake/r_main.c')
-rw-r--r--apps/plugins/sdl/progs/quake/r_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/sdl/progs/quake/r_main.c b/apps/plugins/sdl/progs/quake/r_main.c
index 7776b46bde..4aa14d69da 100644
--- a/apps/plugins/sdl/progs/quake/r_main.c
+++ b/apps/plugins/sdl/progs/quake/r_main.c
@@ -43,6 +43,9 @@ qboolean r_dowarp, r_dowarpold, r_viewchanged;
43int numbtofpolys; 43int numbtofpolys;
44btofpoly_t *pbtofpolys; 44btofpoly_t *pbtofpolys;
45mvertex_t *r_pcurrentvertbase; 45mvertex_t *r_pcurrentvertbase;
46#ifdef USE_PQ_OPT2
47mvertex_fxp_t *r_pcurrentvertbase_fxp;
48#endif
46 49
47int c_surf; 50int c_surf;
48int r_maxsurfsseen, r_maxedgesseen, r_cnumsurfs; 51int r_maxsurfsseen, r_maxedgesseen, r_cnumsurfs;
@@ -808,6 +811,10 @@ void R_DrawBEntitiesOnList (void)
808 VectorCopy (modelorg, r_worldmodelorg); 811 VectorCopy (modelorg, r_worldmodelorg);
809 812
810 r_pcurrentvertbase = clmodel->vertexes; 813 r_pcurrentvertbase = clmodel->vertexes;
814
815#ifdef USE_PQ_OPT2
816 r_pcurrentvertbase_fxp = clmodel->vertexes_fxp;
817#endif
811 818
812 // FIXME: stop transforming twice 819 // FIXME: stop transforming twice
813 R_RotateBmodel (); 820 R_RotateBmodel ();