mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed build paths, added comparison warnings, other misc fixes
This commit is contained in:
parent
dae5c6cee4
commit
f4c252048e
19 changed files with 231 additions and 49 deletions
|
@ -120,6 +120,7 @@ void FTFontManager::ClearCache()
|
|||
|
||||
FTFontManager::Page::~Page()
|
||||
{
|
||||
mTexture->Release();
|
||||
//delete mTexture;
|
||||
}
|
||||
|
||||
|
@ -266,8 +267,7 @@ FTFontManager::Glyph* FTFont::AllocGlyph(int charCode, bool allowDefault)
|
|||
else
|
||||
img.mBits[i] = 0xFF0000FF;
|
||||
}
|
||||
page->mTexture = gBFApp->mRenderDevice->LoadTexture(&img, TextureFlag_NoPremult);
|
||||
page->mTexture->mRefCount = 0;
|
||||
page->mTexture = gBFApp->mRenderDevice->LoadTexture(&img, TextureFlag_NoPremult);
|
||||
}
|
||||
|
||||
if (bitmap.width > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue