mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Replace highdpi window flag with t.highdpi in love.conf
This commit is contained in:
@@ -26,6 +26,18 @@ namespace love
|
||||
namespace window
|
||||
{
|
||||
|
||||
static bool highDPIAllowed = false;
|
||||
|
||||
void setHighDPIAllowed(bool enable)
|
||||
{
|
||||
highDPIAllowed = enable;
|
||||
}
|
||||
|
||||
bool isHighDPIAllowed()
|
||||
{
|
||||
return highDPIAllowed;
|
||||
}
|
||||
|
||||
Window::~Window()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user