Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::sleep problem  (Read 12421 times)

0 Members and 2 Guests are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: sf::sleep problem
« Reply #15 on: February 03, 2018, 06:02:40 pm »
And try it without dragging your window, as that will make rendering stop working, while the sleep itself still goes on.

Point is, there's no reason why sf::seconds or sf::milliseconds would behave differently, as they both just create an sf::Time object with the given input. As such it sounds a lot like an user error, i.e. you interpreting some behavior wrongly.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Bizarreofnature

  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: sf::sleep problem
« Reply #16 on: February 03, 2018, 10:06:17 pm »
I figured what it is. It's my compiler.
It seems like it doesnt compile everything from new.
It more like compiles certain things and takes other things from old compilations.
Wtf.

Im using vs 2017.

Anyone can help?  :(