switched to OpenGL with freeglut and glew