fix use of stbrp_coord if no stb_rect_pack;

fix a few assert()s that weren't STBTT_asserts();
fix missing cast for C++
fix typo in C++ test compilation that prevented it from trying to compile stb_truetype
This commit is contained in:
Sean Barrett
2014-12-10 00:27:11 -08:00
parent 34eec7cc5d
commit 26439254e8
3 changed files with 15 additions and 8 deletions

View File

@ -1,3 +1,7 @@
// check that stb_truetype compiles with no stb_rect_pack.h
#define STB_TRUETYPE_IMPLEMENTATION
#include "stb_truetype.h"
#include "stretchy_buffer.h"
#include <assert.h>