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

Author Topic: While resizing window, black portion appears  (Read 1047 times)

0 Members and 1 Guest are viewing this topic.

TenHenEggs

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
While resizing window, black portion appears
« on: November 24, 2017, 09:22:46 am »
It is gone after you release mouse. But is there any way to solve it? It really annoys me.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: While resizing window, black portion appears
« Reply #1 on: November 24, 2017, 09:47:28 am »
On Windows, the resize event completely blocks the calling thread. Thus, the only solution is to use a secondary thread, but I'm not sure it's worth the extra troubles.
Laurent Gomila - SFML developer

 

anything