Use FT_ULong instead of uint

This commit is contained in:
jojo61
2020-02-26 16:52:48 +01:00
parent a5b81f8de1
commit 03e69b5e26
3 changed files with 14 additions and 6 deletions

View File

@@ -270,7 +270,7 @@ bool cShader::CheckCompileErrors(GLuint object, bool program) {
/****************************************************************************************
* cOglGlyph
****************************************************************************************/
cOglGlyph::cOglGlyph(uint charCode, FT_BitmapGlyph ftGlyph) {
cOglGlyph::cOglGlyph(FT_ULong charCode, FT_BitmapGlyph ftGlyph) {
this->charCode = charCode;
bearingLeft = ftGlyph->left;
bearingTop = ftGlyph->top;
@@ -389,7 +389,7 @@ void cOglFont::Cleanup(void) {
esyslog("failed to deinitialize FreeType library!");
}
cOglGlyph* cOglFont::Glyph(uint charCode) const {
cOglGlyph* cOglFont::Glyph(FT_ULong charCode) const {
// Non-breaking space:
if (charCode == 0xA0)
charCode = 0x20;