Improve macOS Retina UI clarity and bundle HD assets
This commit is contained in:
@@ -83,7 +83,7 @@ void UIRenderRestoreClip();
|
||||
|
||||
// HiDPI text: CGraphicFontTexture rasterises its glyph pages at this multiple of the logical font
|
||||
// size (the swapchain's pixels per UI pixel) while keeping the 40250 glyph metrics and page UVs in
|
||||
// logical pixels. 1 (the default) is the verbatim 40250 path. Latched when the first font page is
|
||||
// created, so set it before the game creates fonts.
|
||||
// logical pixels. 1 (the default) is the verbatim 40250 path. Changing the scale between
|
||||
// AppFrame steps rebuilds existing pages without invalidating cached glyph pointers.
|
||||
void UISetFontOversample(int scale);
|
||||
int UIFontOversample();
|
||||
|
||||
Reference in New Issue
Block a user