Enable glewExperimental

Not having experimental enabled was causing problems on macOS.
This commit is contained in:
Epicalert 2021-01-15 19:11:25 +08:00
parent 0aac06bc30
commit ef534eb51f
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD

View file

@ -74,6 +74,8 @@ void initGraphics () {
glutInit(&argc, argv);
glutCreateWindow("FaceCam2D");
glutInitWindowSize(512, 512);
glewExperimental = GL_TRUE;
glewInit();
initShader();