- code cleanup
This commit is contained in:
parent
afecb1ca0f
commit
ccd39d6df7
13 changed files with 60 additions and 33 deletions
|
|
@ -422,7 +422,7 @@ void FFont::ReadSheetFont(std::vector<FileSys::FolderEntry> &folderdata, int wid
|
|||
|
||||
FBitmap* sheetimg = &sheetBitmaps[sheetBitmaps.Reserve(1)];
|
||||
sheetimg->Create(tex->GetTexelWidth(), tex->GetTexelHeight());
|
||||
tex->GetTexture()->GetImage()->CopyPixels(sheetimg, FImageSource::normal);
|
||||
tex->GetTexture()->GetImage()->CopyPixels(sheetimg, FImageSource::normal, 0);
|
||||
|
||||
for (int y = 0; y < numtex_y; y++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue