Switched back to pure OpenGL.