Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 equivalent of SFML 1 PreserveGLStates?
Print
Pages: [
1
]
Author
Topic: SFML 2.0 equivalent of SFML 1 PreserveGLStates? (Read 1935 times)
0 Members and 1 Guest are viewing this topic.
Predator106
Newbie
Posts: 43
SFML 2.0 equivalent of SFML 1 PreserveGLStates?
«
on:
December 03, 2012, 02:14:59 am »
as the title says, i'm porting 1.x code to 2.x, and i ran into this amongst its opengl code and have no idea what to do with it.
Logged
eigenbom
Full Member
Posts: 228
Re: SFML 2.0 equivalent of SFML 1 PreserveGLStates?
«
Reply #1 on:
December 03, 2012, 04:09:07 am »
i think its RenderTarget::pushGLStates(), and popGLStates()
Logged
G.
Hero Member
Posts: 1593
Re: SFML 2.0 equivalent of SFML 1 PreserveGLStates?
«
Reply #2 on:
December 03, 2012, 10:36:06 pm »
Quote from: Predator106 on December 03, 2012, 02:14:59 am
have no idea what to do with it.
Well, check the
OpenGL / SFML tutorial
or the
RenderWindow documentation
.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 equivalent of SFML 1 PreserveGLStates?