Commit bfb3e8a3 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 e6f7c3ac
......@@ -48,7 +48,7 @@ Texture::Texture() :
}
TextureData::TextureData() :
nextInternalID_(0)
nextInternalID_(1)
{
// map 0 to no texture
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