Sorry, I didn't thank you for your assistance.
Thank you!
Type: Posts; User: DrHaximus
Sorry, I didn't thank you for your assistance.
Thank you!
OMG I FIXED IT!
I HAD TO USE 'pushGLStates()' AND 'popGLStates'
EXCUSE MY CAPS, I'M HAPPY.
@Poppie
Why would that make a difference? (Genuinely interested)
And no, it didn't.
Nothing else in the loop really concerns the problem. The only relevant information to give you is that before I start the window's frame loop, I initialize some SFML sprites and textures. This...
What I mean is, I have an integer to see whether or not the program should draw the interface or OpenGL. At the moment it will draw the 2D interface to begin with, but when the state is changed I get...
Hi!
I'm using SFML, which uses OpenGL, and have found that a simple OpenGL triangle will only display under weird circumstances. Here's the code for the triangle:
void drawGL() {...