mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 02:15:53 +08:00
Use GLFW_INCLUDE_GLU
This commit is contained in:
parent
f6a31fa22e
commit
ba26657a01
5
Makefile
5
Makefile
@ -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
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user