Fix cycles standalone crash on Mac OS X.
This commit is contained in:
parent
277126881d
commit
c0e0b61222
|
@ -248,9 +248,7 @@ void view_main_loop(const char *title, int width, int height,
|
|||
glutInitDisplayMode(GLUT_RGB|GLUT_DOUBLE|GLUT_DEPTH);
|
||||
glutCreateWindow(title);
|
||||
|
||||
#ifndef __APPLE__
|
||||
glewInit();
|
||||
#endif
|
||||
|
||||
view_reshape(width, height);
|
||||
|
||||
|
|
Loading…
Reference in New Issue