different improvements
This commit is contained in:
@@ -157,9 +157,8 @@ namespace OpenVulkano::Scene
|
||||
+ glyph.firstGlyphByteInAtlas;
|
||||
for (int row = 0; row < slot->bitmap.rows; row++)
|
||||
{
|
||||
std::memcpy(baseAddress + row * m_atlasData->GetTexture()->resolution.x,
|
||||
&slot->bitmap.buffer[(slot->bitmap.rows - 1 - row) * slot->bitmap.pitch],
|
||||
slot->bitmap.width);
|
||||
std::memcpy(baseAddress - row * m_atlasData->GetTexture()->resolution.x,
|
||||
&slot->bitmap.buffer[row * slot->bitmap.pitch], slot->bitmap.width);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user