SFML community forums
Help => Graphics => Topic started by: Fouf on October 11, 2011, 10:46:59 pm
-
Is this function slow and should not be used? I just switched over a little texture manager over I made that used GLuints to store the textures and what not to use sf::Texture and now instead of doing glBindTexture I do texture->Bind();
I see about a 10% increase in my CPU usage, before about 8-12% now 22-28%.
I may have done something wrong , I'm going to look over everything once again. I'll edit this post with updates.
-
sf::Texture::Bind calls glBindTexture, nothing more, nothing less. The difference may be in the texture's attributes (format, wrap mode, filter, ...).