Allow disabling stencil capabilities for the main screen in love.window.setMode.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-01-05 19:40:18 -04:00
parent 3adc9b45be
commit 5243fb5a85
11 changed files with 57 additions and 20 deletions
+4
View File
@@ -56,6 +56,8 @@ public:
SETTING_FULLSCREEN_TYPE,
SETTING_VSYNC,
SETTING_MSAA,
SETTING_STENCIL,
SETTING_DEPTH,
SETTING_RESIZABLE,
SETTING_MIN_WIDTH,
SETTING_MIN_HEIGHT,
@@ -219,6 +221,8 @@ struct WindowSettings
Window::FullscreenType fstype = Window::FULLSCREEN_DESKTOP;
int vsync = 1;
int msaa = 0;
bool stencil = true;
int depth = 0;
bool resizable = false;
int minwidth = 1;
int minheight = 1;