mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Allow disabling stencil capabilities for the main screen in love.window.setMode.
--HG-- branch : minor
This commit is contained in:
@@ -127,11 +127,11 @@ private:
|
||||
bool debug;
|
||||
};
|
||||
|
||||
void setGLFramebufferAttributes(int msaa, bool sRGB);
|
||||
void setGLFramebufferAttributes(int msaa, bool sRGB, bool stencil, int depth);
|
||||
void setGLContextAttributes(const ContextAttribs &attribs);
|
||||
bool checkGLVersion(const ContextAttribs &attribs, std::string &outversion);
|
||||
std::vector<ContextAttribs> getContextAttribsList() const;
|
||||
bool createWindowAndContext(int x, int y, int w, int h, Uint32 windowflags, int msaa);
|
||||
bool createWindowAndContext(int x, int y, int w, int h, Uint32 windowflags, int msaa, bool stencil, int depth);
|
||||
|
||||
// Update the saved window settings based on the window's actual state.
|
||||
void updateSettings(const WindowSettings &newsettings, bool updateGraphicsViewport);
|
||||
|
||||
Reference in New Issue
Block a user