1
Window / Re: Window Bugged?
« on: June 25, 2015, 01:29:25 pm »sf::Window is for people who really just want to use OpenGL.
sf::RenderWindow is for people who also want to work with SFML's graphics module.
And I'm not sure where you copied the code from, but if you were in the OpenGL tutorial, then yes, obviously it would only use the sf::Window...
I used this tutorial: http://www.sfml-dev.org/tutorials/2.3/window-window.php
I read in API documentation that sf::Window is for OpenGL rendering.
Now it seems logical. "This tutorial only explains how to open and manage a window. Drawing stuff is beyond the scope of the sfml-window module: it is handled by the sfml-graphics module." - I didn't read this first line. As I remember, window was black automatically when I used SFML on Windows (and probably I remember it wrongly), that's why I thought window is bugged.
Thanks for help, and sorry for this simple question .