Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
PushGLStates changes blend mode, but PopGLStates doesn't restore it
Print
Pages: [
1
]
Author
Topic: PushGLStates changes blend mode, but PopGLStates doesn't restore it (Read 1095 times)
0 Members and 1 Guest are viewing this topic.
Keshi
Newbie
Posts: 2
PushGLStates changes blend mode, but PopGLStates doesn't restore it
«
on:
April 10, 2012, 01:52:26 pm »
PushGLStates changes the blend mode of the window buffer to alpha blend, but PopGLStates doesn't restore it if it was set to something else before, and there's no way to set it without drawing through SFML because the method is hidden.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: PushGLStates changes blend mode, but PopGLStates doesn't restore it
«
Reply #1 on:
April 10, 2012, 01:54:55 pm »
Could you please provide a complete and minimal code that reproduces the problem?
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
PushGLStates changes blend mode, but PopGLStates doesn't restore it
anything