diff --git a/Engine/source/environment/skyBox.cpp b/Engine/source/environment/skyBox.cpp index 5adb28b98..6ed2174e5 100644 --- a/Engine/source/environment/skyBox.cpp +++ b/Engine/source/environment/skyBox.cpp @@ -252,7 +252,7 @@ void SkyBox::_renderObject( ObjectRenderInst *ri, SceneRenderState *state, BaseM void SkyBox::_initRender() { - GFXVertexPNTT *tmpVerts = NULL; + GFXVertexPNT *tmpVerts = NULL; U32 vertCount = 36; @@ -264,7 +264,7 @@ void SkyBox::_initRender() // Create temp vertex pointer // so we can read from it // for generating the normals below. - tmpVerts = new GFXVertexPNTT[vertCount]; + tmpVerts = new GFXVertexPNT[vertCount]; // We don't bother sharing // vertices here, in order to @@ -400,14 +400,14 @@ void SkyBox::_initRender() mIsVBDirty = false; } - GFXVertexPNTT *vertPtr = mVB.lock(); + GFXVertexPNT *vertPtr = mVB.lock(); if (!vertPtr) { delete[] tmpVerts; return; } - dMemcpy( vertPtr, tmpVerts, sizeof ( GFXVertexPNTT ) * vertCount ); + dMemcpy(vertPtr, tmpVerts, sizeof( GFXVertexPNT) * vertCount); mVB.unlock(); @@ -609,7 +609,7 @@ void SkyBox::_initMaterial() features.removeFeature( MFT_Visibility ); // Now initialize the material. - mMatInstance->init( features, getGFXVertexFormat() ); + mMatInstance->init(features, getGFXVertexFormat()); } void SkyBox::_updateMaterial() diff --git a/Engine/source/environment/skyBox.h b/Engine/source/environment/skyBox.h index 997088eb9..eeb2c24b5 100644 --- a/Engine/source/environment/skyBox.h +++ b/Engine/source/environment/skyBox.h @@ -105,7 +105,7 @@ protected: SimObjectPtr mMaterial; - GFXVertexBufferHandle mVB; + GFXVertexBufferHandle mVB; GFXVertexBufferHandle mFogBandVB; Material *mFogBandMat;