diff --git a/27_font_atlas/Makefile.osx b/27_font_atlas/Makefile.osx index daf8fb2..68a6b51 100644 --- a/27_font_atlas/Makefile.osx +++ b/27_font_atlas/Makefile.osx @@ -1,6 +1,6 @@ CC = clang++ FLAGS = -DAPPLE -Wall -pedantic -INC = -I/sw/include -I/usr/local/include +INC = -I/sw/include -I/usr/local/include -I/usr/local/include/freetype2/ LIBS = -lGLEW -lglfw FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit SRC = main.cpp maths_funcs.cpp diff --git a/27_font_atlas/generator_main.cpp b/27_font_atlas/generator_main.cpp index 9245b72..7a30bba 100644 --- a/27_font_atlas/generator_main.cpp +++ b/27_font_atlas/generator_main.cpp @@ -11,7 +11,7 @@ \******************************************************************************/ #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" -#include // FreeType header +#include // FreeType header #include FT_FREETYPE_H // unusual macro #include // needed for bounding box bit #include