Commit 846ea614 authored by hybrid's avatar hybrid

Removed WIP code.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1428 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a2822317
...@@ -756,9 +756,9 @@ bool CB3DMeshFileLoader::readChunkBRUS() ...@@ -756,9 +756,9 @@ bool CB3DMeshFileLoader::readChunkBRUS()
{ {
B3dMaterial.Material.setTexture(i, B3dMaterial.Textures[i]->Texture); B3dMaterial.Material.setTexture(i, B3dMaterial.Textures[i]->Texture);
if (B3dMaterial.Textures[i]->Flags & 0x10) // Clamp U if (B3dMaterial.Textures[i]->Flags & 0x10) // Clamp U
B3dMaterial.Material.TextureLayer[i].TextureWrapU=video::ETC_CLAMP; B3dMaterial.Material.TextureLayer[i].TextureWrap=video::ETC_CLAMP;
if (B3dMaterial.Textures[i]->Flags & 0x20) // Clamp V, TODO: Needs another attribute if (B3dMaterial.Textures[i]->Flags & 0x20) // Clamp V, TODO: Needs another attribute
B3dMaterial.Material.TextureLayer[i].TextureWrapV=video::ETC_CLAMP; B3dMaterial.Material.TextureLayer[i].TextureWrap=video::ETC_CLAMP;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment