Use GLFW_INCLUDE_GLU

This commit is contained in:
Syoyo Fujita 2015-12-21 11:48:32 +09:00
parent f6a31fa22e
commit ba26657a01
2 changed files with 2 additions and 10 deletions

View File

@ -1,5 +1,2 @@
all: all:
clang++ -Wall -Werror -g -O0 -o loader_test test.cc && ./loader_test face3d.gltf g++ -Wall -Werror -g -O2 -o loader_test test.cc
beautify:
~/local/clang+llvm-3.6.0-x86_64-apple-darwin/bin/clang-format -i tiny_gltf_loader.h

View File

@ -9,12 +9,7 @@
#include <GL/glew.h> #include <GL/glew.h>
#ifdef __APPLE__ #define GLFW_INCLUDE_GLU
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
#include <GLFW/glfw3.h> #include <GLFW/glfw3.h>
#include "trackball.h" #include "trackball.h"