Dragonfly Q&A

SFML is only opening a white window.

0 like 0 dislike
Hello, as the title suggests when testing the drawing of objects my graphics manager opens a white window. This is confusing as the SFML test code works perfectly fine. I've also attempted to use p_window->clear(sf::Color::Black) to clear the window and set it to a black background, but it doesn't seem to function.
Dragonfly version 4.2
asked Sep 18, 2016 in Engine Development by Thomas-Lourenco
reopened Sep 18, 2016 by claypool

1 Answer

0 like 0 dislike
Sounds like you were not using the needed p_window-> in front of both clear() and display().  Glad you figured it out!
answered Sep 18, 2016 by claypool
More information about Dragonfly can be found on the Dragonfly Home Page.