ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values

This commit is contained in:
Alibek Omarov
2019-03-28 18:17:26 +03:00
parent 8b5926f9b1
commit f48335f2f2
8 changed files with 24 additions and 16 deletions

View File

@@ -727,7 +727,7 @@ static void pfnRenderScene( const ref_viewpass_t *rvp )
copy.flags = 0;
ref.dllFuncs.R_Set2DMode( false );
ref.dllFuncs.GL_RenderFrame( &copy );
GL_RenderFrame( &copy );
ref.dllFuncs.R_Set2DMode( true );
ref.dllFuncs.R_PopScene();
}