mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 11:15:54 +08:00
Use GLFW_INCLUDE_GLU
This commit is contained in:
parent
f6a31fa22e
commit
ba26657a01
5
Makefile
5
Makefile
@ -1,5 +1,2 @@
|
||||
all:
|
||||
clang++ -Wall -Werror -g -O0 -o loader_test test.cc && ./loader_test face3d.gltf
|
||||
|
||||
beautify:
|
||||
~/local/clang+llvm-3.6.0-x86_64-apple-darwin/bin/clang-format -i tiny_gltf_loader.h
|
||||
g++ -Wall -Werror -g -O2 -o loader_test test.cc
|
||||
|
@ -9,12 +9,7 @@
|
||||
|
||||
#include <GL/glew.h>
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
#define GLFW_INCLUDE_GLU
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include "trackball.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user