LaurentGomila/SFML — Issue #167: OpenGL ClientState still active
Author: trevex
Created: 2012-02-09 14:29:37+00:00
State: open

The GL_COLOR_ARRAY ClientState seems to be still active after initializing a RenderWindow. I am using SFML along with GLEW and basically I have to call:

glDisableClientState(GL_COLOR_ARRAY);

After:

m_pWindow = new sf::RenderWindow(sf::VideoMode(width, height), title, sf::Style::Default, sf::ContextSettings(32));
m_pWindow->EnableVerticalSync(vsync);

Or I get an segmentation fault if I am drawing using VBOs.

I use the latest source on MacOSX 10.7.3.