mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rename 'display' field to 'displayindex' in setMode and love.conf.
Fixes #1711.
This commit is contained in:
@@ -69,7 +69,8 @@ public:
|
||||
SETTING_MIN_HEIGHT,
|
||||
SETTING_BORDERLESS,
|
||||
SETTING_CENTERED,
|
||||
SETTING_DISPLAY,
|
||||
SETTING_DISPLAYINDEX,
|
||||
SETTING_DISPLAY, // Deprecated
|
||||
SETTING_HIGHDPI, // Deprecated
|
||||
SETTING_USE_DPISCALE,
|
||||
SETTING_REFRESHRATE,
|
||||
@@ -264,7 +265,7 @@ struct WindowSettings
|
||||
int minheight = 1;
|
||||
bool borderless = false;
|
||||
bool centered = true;
|
||||
int display = 0;
|
||||
int displayindex = 0;
|
||||
bool usedpiscale = true;
|
||||
double refreshrate = 0.0;
|
||||
bool useposition = false;
|
||||
|
||||
Reference in New Issue
Block a user