Feb 12, 2013 at 2:02am UTC
Are you looking at 2.0 code while you're using 1.6 perhaps?
Feb 12, 2013 at 10:06pm UTC
But I checked throughout the entire class and not a single function resembles what I'm looking for.
I have all the includes but it seems like so much is missing...
Feb 12, 2013 at 10:17pm UTC
And yes, I did check to make sure everything was the right version. (If it wasn't there should be at least a recognizable alternative...)
Feb 12, 2013 at 10:32pm UTC
for 1.6 it would be
Window.Draw() (note that neither 2.0 or 1.6 has a RenderWindow::D(d)raw overload for string literals) and Window.PreserveOpenGLStates().
Another possibility might be that you're using a Window as opposed to a RenderWindow object.
Feb 12, 2013 at 11:12pm UTC
What is great here is that I though I was using a RenderWindow the entire time, but after a lot of configuration I have reached a stopping point, more pointless than the first:
RenderWindow is not a member of sf::
For safety I included ALL sfml includes and I did not spell RenderWindow wrong or anything I checked sf:: and there was no RenderWindow only Window...
For the recorder I also noticed the Window.PreserveOpenGLStates() but it said it was memory intensive first; and seconds it did not exist when I checked.
Last edited on
Feb 12, 2013 at 11:13pm UTC
Feb 12, 2013 at 11:17pm UTC
Ok, that is honestly strange...
All the nice little microsoft developed drop down windows say RenderWindow does exist AND Its in the code, but it still says it does not exist.
Feb 13, 2013 at 11:25am UTC
Everything else works though, could it be since maybe renderwindows can not be used with openGL rendering at the same time?