mirror of https://github.com/axmolengine/axmol.git
remove default value for size argument.
This commit is contained in:
parent
3f8910d80c
commit
bd3c3a7c3d
|
@ -577,7 +577,7 @@ void CCFreeTypeFont::compute_bbox(std::vector<TGlyph>& glyphs, FT_BBox *abbox)
|
|||
}
|
||||
|
||||
namespace {
|
||||
inline unsigned char* takeBuffer(Data& data, ssize_t* size = nullptr) {
|
||||
inline unsigned char* takeBuffer(Data& data, ssize_t* size) {
|
||||
auto buffer = data.getBytes();
|
||||
if (size)
|
||||
*size = data.getSize();
|
||||
|
|
Loading…
Reference in New Issue