comparison Outdoor.cpp @ 103:dd570dea0632

full fix lag
author Ritor1
date Fri, 08 Feb 2013 16:05:20 +0600
parents 2fb33d31ca0d
children 23b213c3f8e1
comparison
equal deleted inserted replaced
102:8a10c9780e17 103:dd570dea0632
92 } 92 }
93 else 93 else
94 { 94 {
95 pRenderer->DrawSkyD3D(); 95 pRenderer->DrawSkyD3D();
96 pRenderer->DrawBuildingsD3D(); 96 pRenderer->DrawBuildingsD3D();
97 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: lag 97 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
98 } 98 }
99 } 99 }
100 else if ( pRenderer->pRenderD3D ) 100 else if ( pRenderer->pRenderD3D )
101 { 101 {
102 pRenderer->DrawSkyD3D(); 102 pRenderer->DrawSkyD3D();
103 pRenderer->DrawBuildingsD3D(); 103 pRenderer->DrawBuildingsD3D();
104 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: lag 104 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
105 } 105 }
106 else 106 else
107 { 107 {
108 pRenderer->DrawBuildingsSW(); 108 pRenderer->DrawBuildingsSW();
109 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: lag 109 pRenderer->RenderTerrainD3D();//pRenderer->DrawBezierTerrain();// Ritor1: temporarily lag
110 sr_sub_486F92_MessWithEdgesAndSpans(); 110 sr_sub_486F92_MessWithEdgesAndSpans();
111 pOutdoorCamera->_487355(); 111 pOutdoorCamera->_487355();
112 } 112 }
113 pMobileLightsStack->uNumLightsActive = 0; 113 pMobileLightsStack->uNumLightsActive = 0;
114 pStationaryLightsStack->uNumLightsActive = 0; 114 pStationaryLightsStack->uNumLightsActive = 0;