Skip to content

Commit

Permalink
added headers specific to specify includes for glut and gl for differ…
Browse files Browse the repository at this point in the history
…ent os's
  • Loading branch information
tobby-lie committed Mar 6, 2020
1 parent 5a5a4cf commit fb5a4d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion graphics_hw3/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@

#define GL_SILENCE_DEPRECATION // silence deprecation warnings

#include <GLUT/GLUT.h>
#ifdef __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif

#include <iostream>
#include <vector>
#include <tuple>
Expand Down

0 comments on commit fb5a4d4

Please sign in to comment.