OpenGL2: Parse radius entries from misc_cubemap entities.

This commit is contained in:
SmileTheory 2015-12-09 02:00:40 -08:00
parent b52ede0445
commit f9c72eee69
6 changed files with 32 additions and 19 deletions

View file

@ -2862,7 +2862,7 @@ void R_RenderCubemapSide( int cubemapIndex, int cubemapSide, qboolean subscene )
memset( &refdef, 0, sizeof( refdef ) );
refdef.rdflags = 0;
VectorCopy(tr.cubemapOrigins[cubemapIndex], refdef.vieworg);
VectorCopy(tr.cubemaps[cubemapIndex].origin, refdef.vieworg);
switch(cubemapSide)
{