Fix shelf update on gcc
This commit is contained in:
@@ -24,8 +24,7 @@ namespace OpenVulkano::Scene
|
|||||||
|
|
||||||
struct Shelf
|
struct Shelf
|
||||||
{
|
{
|
||||||
inline static std::vector<Shelf> CreateShelves(uint32_t atlasWidth, std::vector<GlyphForPacking>& glyphs,
|
static std::vector<Shelf> CreateShelves(uint32_t atlasWidth, std::vector<GlyphForPacking>& glyphs, FT_FaceRec_* face, int channelsCount);
|
||||||
FT_FaceRec_* face, int channelsCount);
|
|
||||||
|
|
||||||
Shelf(uint32_t width, uint32_t height, int pixelSize, uint32_t prevShelvesHeight)
|
Shelf(uint32_t width, uint32_t height, int pixelSize, uint32_t prevShelvesHeight)
|
||||||
: m_width(width), m_height(height), m_remainingWidth(width), m_prevShelvesHeight(prevShelvesHeight), m_pixelSize(pixelSize) {}
|
: m_width(width), m_height(height), m_remainingWidth(width), m_prevShelvesHeight(prevShelvesHeight), m_pixelSize(pixelSize) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user