Why?
« on: 10 June 2015, 17:00:02 »
This is displayed on a computer at a friend.

And this at my

Why he has got a break on sliders?

*

texus

  • *****
  • 1161
    • View Profile
    • Texus's Blog
Re: Why?
« Reply #1 on: 10 June 2015, 17:26:48 »
This has been reported a few times, but my suspicion on what the problem is has never been confirmed. I'm still assuming that this is a problem with the graphics driver, you should ask your friend to update it.

To be certain that it has nothing to do with tgui you can try out a program with just sfml and use code like this:
// Load a small to medium sized texture, set it to repeat
sf::Texture texture;
texture.loadFromFile("Filename.jpg");
texture.setRepeated(true);

// Create the sprite and give it a texture rect that is several times larger than the size of the texture
sf::Sprite sprite;
sprite.setTexture(texture);
sprite.setTextureRect({0, 0, 800, 600});

// Draw the sprite and see if it displays without gaps between the repeated texture
window.draw(sprite);

If that code fails on your friends computer too then I will finally be certain that it is completely unrelated to tgui.

Yes
« Reply #2 on: 11 June 2015, 22:59:35 »
That not work. This is a error of SFML. My friend hasn't got acceleration hardware of opengl. That is the anser.
Thanks.