16
General discussions / SFML 2.0 with opengl
« on: May 04, 2011, 03:28:32 pm »
If I render between saving and restoring the GL state nothing appears on the screen.
Do I have to change the gl viewport or set a transform? How can I easily get to the transform before my call to save GL state?
Or perhaps its a blending issue?
Im just shooting in the dark here.
EDIT: Without the call to save the state, it draws in the correct location and in the right colors but it messes up any fonts I have on the screen. They are not antialiased anymore...
Do I have to change the gl viewport or set a transform? How can I easily get to the transform before my call to save GL state?
Or perhaps its a blending issue?
Im just shooting in the dark here.
EDIT: Without the call to save the state, it draws in the correct location and in the right colors but it messes up any fonts I have on the screen. They are not antialiased anymore...