Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
sf::RenderTexture size issues after window resize
Print
Pages: [
1
]
Author
Topic: sf::RenderTexture size issues after window resize (Read 1307 times)
0 Members and 2 Guests are viewing this topic.
Sumzary
Guest
sf::RenderTexture size issues after window resize
«
on:
January 16, 2014, 07:50:19 pm »
Initially, the game window looks like this:
If I resize the window bigger the problem appears:
Resizing smaller is no problem:
I recreate the renderTexture on resize, so what causes the problem?
Logged
zsbzsb
Hero Member
Posts: 1409
Active Maintainer of CSFML/SFML.NET
Re: sf::RenderTexture size issues after window resize
«
Reply #1 on:
January 16, 2014, 07:52:31 pm »
I really hate just posting this, but until someone gives us the secret of crystal_ball.exe ....
http://en.sfml-dev.org/forums/index.php?topic=5559.msg36368#msg36368
«
Last Edit: January 16, 2014, 07:54:49 pm by zsbzsb
»
Logged
Motion / MotionNET
- Complete video / audio playback for SFML / SFML.NET
NetEXT
- An SFML.NET Extension Library based on
Thor
Sumzary
Guest
Re: sf::RenderTexture size issues after window resize
«
Reply #2 on:
January 16, 2014, 09:07:56 pm »
This is weird, when I tried to make a minimal example, it worked like a charm. Will investigate further.
Logged
Sumzary
Guest
Re: sf::RenderTexture size issues after window resize
«
Reply #3 on:
January 16, 2014, 09:27:45 pm »
Solved the issue, I have to set the textureRect of my "renderSprite" after I recreate the "renderTexture".
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
sf::RenderTexture size issues after window resize
anything