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:
parent
3de10b9d73
commit
9930ae8436
6 changed files with 52 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue