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

Author Topic: Rendering in a separate thread in OS X  (Read 1649 times)

0 Members and 1 Guest are viewing this topic.

wademcgillis

  • Newbie
  • *
  • Posts: 36
    • View Profile
Rendering in a separate thread in OS X
« on: May 24, 2012, 04:07:53 am »
When I try to render in a separate thread in OS X, it complains that I can't do that in a worker thread.

How do I resolve this?

"Cannot fetch event from a worker thread. (OS X restriction)"

I mainly want to do this so the app doesn't freeze when I click on the menu bar.
« Last Edit: May 24, 2012, 04:24:59 am by wademcgillis »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Rendering in a separate thread in OS X
« Reply #1 on: May 24, 2012, 07:55:19 am »
You can render in another thread, but not process events.
Laurent Gomila - SFML developer

 

anything