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

Author Topic: Draw using a single buffer?  (Read 1088 times)

0 Members and 1 Guest are viewing this topic.

hasapian

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Draw using a single buffer?
« on: March 28, 2013, 12:39:52 am »
Is it possible to draw on a single buffer? Because with two single buffers, I have to draw the same things twice, which slows a lot my program. And there are differences between two consequent draws, so if the two buffers are used, an epileptic effect is created...

Thank you in advance and I apologize if the forum contains the same topic somewhere else....

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: Draw using a single buffer?
« Reply #1 on: March 28, 2013, 12:52:20 am »
So you don't want double buffering? ???

If you run into such issues, you're doing things wrong. With SFML you're required to draw the whole scene every frame. Don't just draw when things change. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything