We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function int2 fntGetFontAtlasSize() in FontSystem.cpp is missing the alternate implementation when ENABLE_FORGE_FONTS is not defined.
int2 fntGetFontAtlasSize()
FontSystem.cpp
ENABLE_FORGE_FONTS
Current Version:
int2 fntGetFontAtlasSize() { #ifdef ENABLE_FORGE_FONTS ASSERT(gFontstash.mRenderInitialized && "Font Rendering not initialized! Make sure to call initFontRendering!"); int2 size = {}; FONScontext* fs = gFontstash.pContext; fonsGetAtlasSize(fs, &size.x, &size.y); return size; #endif }
Expected Version:
int2 fntGetFontAtlasSize() { #ifdef ENABLE_FORGE_FONTS ASSERT(gFontstash.mRenderInitialized && "Font Rendering not initialized! Make sure to call initFontRendering!"); int2 size = {}; FONScontext* fs = gFontstash.pContext; fonsGetAtlasSize(fs, &size.x, &size.y); return size; #else return int2(0); #endif }
The text was updated successfully, but these errors were encountered:
Fixed as of Release 1.59. Thank you!
Sorry, something went wrong.
No branches or pull requests
The function
int2 fntGetFontAtlasSize()
inFontSystem.cpp
is missing the alternate implementation whenENABLE_FORGE_FONTS
is not defined.Current Version:
Expected Version:
The text was updated successfully, but these errors were encountered: