Enable glewExperimental
Not having experimental enabled was causing problems on macOS.
This commit is contained in:
parent
0aac06bc30
commit
ef534eb51f
|
@ -74,6 +74,8 @@ void initGraphics () {
|
||||||
glutInit(&argc, argv);
|
glutInit(&argc, argv);
|
||||||
glutCreateWindow("FaceCam2D");
|
glutCreateWindow("FaceCam2D");
|
||||||
glutInitWindowSize(512, 512);
|
glutInitWindowSize(512, 512);
|
||||||
|
|
||||||
|
glewExperimental = GL_TRUE;
|
||||||
glewInit();
|
glewInit();
|
||||||
|
|
||||||
initShader();
|
initShader();
|
||||||
|
|
Loading…
Reference in a new issue