Hi, I create a simple app and in the main loop when i do
App.SetActive(true);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
App.Display();
App.SetActive(false);
When running, it output on the console "Failed to activate window context". If I comment away App.SetActive(false); everything is normal.
Why is it that calling App.SetActive(false) would produce that error? Is there a change in the proper usage of SetActive() in SFML2.0?
P.S: this problem did not appear in SFML1.6
regards.