mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
partial render code revert, oerlikon brakes fix, sound fixes
This commit is contained in:
9
sky.cpp
9
sky.cpp
@@ -41,13 +41,20 @@ void TSky::Render( float3 const &Tint )
|
||||
#endif
|
||||
if (Global::bUseVBO)
|
||||
{ // renderowanie z VBO
|
||||
mdCloud->RaRender(100, 0);
|
||||
#ifdef EU07_USE_OLD_RENDERCODE
|
||||
mdCloud->RaRender( 100, 0 );
|
||||
mdCloud->RaRenderAlpha(100, 0);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{ // renderowanie z Display List
|
||||
#ifdef EU07_USE_OLD_RENDERCODE
|
||||
mdCloud->Render(100, 0);
|
||||
mdCloud->RenderAlpha(100, 0);
|
||||
#else
|
||||
GfxRenderer.Render( mdCloud, nullptr, 100.0 );
|
||||
GfxRenderer.Render_Alpha( mdCloud, nullptr, 100.0 );
|
||||
#endif
|
||||
}
|
||||
#ifdef EU07_USE_OLD_LIGHTING_MODEL
|
||||
glPopMatrix();
|
||||
|
||||
Reference in New Issue
Block a user