Commit 38ff4c2e authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed internal texture id for first texture ( should be 1 not zero )

Otherwise texturemap of id 0 would be something different then no texture!

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5819 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 907cfa3f
...@@ -48,7 +48,7 @@ Texture::Texture() : ...@@ -48,7 +48,7 @@ Texture::Texture() :
} }
TextureData::TextureData() : TextureData::TextureData() :
nextInternalID_(0) nextInternalID_(1)
{ {
// map 0 to no texture // map 0 to no texture
textureMap_[0] = 0; textureMap_[0] = 0;
......
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