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

Author Topic: Multithreading Error with Rendering  (Read 1887 times)

0 Members and 1 Guest are viewing this topic.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Multithreading Error with Rendering
« on: January 20, 2010, 11:08:41 pm »
I have a separate Thread from Main. It has an sf::Context. It renders just fine normally, but when I switch Windows, then switch back, it fails to activate the Window's Context. So, if the window goes inactive even once, the context goes screwy. Should I be calling SetActive?
I use the latest build of SFML2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Multithreading Error with Rendering
« Reply #1 on: January 20, 2010, 11:37:41 pm »
Can you show a minimal and complete example that reproduces the problem?
Laurent Gomila - SFML developer

 

anything