Small CXX_BUILD fix.

This commit is contained in:
Themaister 2014-06-08 14:07:32 +02:00
parent 93bfaebcb3
commit 33f718ce4c

View File

@ -100,8 +100,8 @@ static bool ft_renderer_create_atlas(ft_renderer_t *handle)
if (buffer[i])
memcpy(buffer[i], slot->bitmap.buffer, slot->bitmap.rows * pitches[i]);
max_width = max(max_width, slot->bitmap.width);
max_height = max(max_height, slot->bitmap.rows);
max_width = max(max_width, (unsigned)slot->bitmap.width);
max_height = max(max_height, (unsigned)slot->bitmap.rows);
}
handle->atlas.width = max_width * ATLAS_COLS;