GL states are no longer polluted by SFML's ones when mixing with custom OpenGL code
This commit is contained in:
parent
24f8c3535d
commit
ac45dc9cba
2 changed files with 11 additions and 2 deletions
|
@ -354,6 +354,7 @@ private :
|
|||
{
|
||||
enum {VertexCacheSize = 4};
|
||||
|
||||
bool glStatesSet; ///< Are our internal GL states set yet?
|
||||
bool viewChanged; ///< Has the current view changed since last draw?
|
||||
BlendMode lastBlendMode; ///< Cached blending mode
|
||||
Uint64 lastTextureId; ///< Cached texture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue