1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Added screen DPI awareness

This commit is contained in:
Brian Fiete 2019-09-16 09:32:02 -07:00
parent 3de10b9d73
commit 9930ae8436
6 changed files with 52 additions and 3 deletions

View file

@ -381,6 +381,11 @@ BF_EXPORT void BF_CALLTYPE BFWindow_Close(BFWindow* window, int force)
window->TryClose();
}
BF_EXPORT int BF_CALLTYPE BFWindow_GetDPI(BFWindow* window)
{
return window->GetDPI();
}
///
BF_EXPORT TextureSegment* BF_CALLTYPE Gfx_CreateRenderTarget(int width, int height, int destAlpha)