Fixed bug with VN scrolling

This commit is contained in:
2023-06-18 10:00:28 -07:00
parent 79556955ef
commit 318615c3b4
7 changed files with 56 additions and 14 deletions

View File

@ -15,10 +15,6 @@ TrueTypeFaceTexture::TrueTypeFaceTexture(
this->face = face;
this->style = style;
this->locks.onEmpty = [&]() {
assertUnreachable();
};
// Set freetype font size prior to baking.
if(FT_Set_Pixel_Sizes(face, 0, style.fontSize)) {

View File

@ -7,7 +7,6 @@
#include "display/font/truetype/TrueTypeShared.hpp"
#include "util/mathutils.hpp"
#include "display/Texture.hpp"
#include "util/UsageLock.hpp"
namespace Dawn {
class TrueTypeAsset;
@ -34,7 +33,6 @@ namespace Dawn {
FT_Face face;
std::map<FT_ULong, struct TrueTypeCharacter> characterData;
struct TrueTypeFaceTextureStyle style;
UsageLock locks;
Texture texture;
/**