Commit 6b260e00 authored by Jan Möbius's avatar Jan Möbius
Browse files

Correctly unbind texture after setting it (rebound on enter)

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10111 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a958b76
......@@ -242,6 +242,9 @@ void TextureNode::setTextureDataGL ( GLuint _textureId,
textures_[_textureId].target = _target;
textures_[_textureId].width = _width;
textures_[_textureId].height = _height;
// Unbind until we use it
glBindTexture(GL_TEXTURE_2D,0);
}
......
Supports Markdown
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