mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Allow disabling stencil capabilities for the main screen in love.window.setMode.
--HG-- branch : minor
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
Video *newVideo(love::video::VideoStream *stream, float pixeldensity);
|
||||
|
||||
void setViewportSize(int width, int height, int pixelwidth, int pixelheight) override;
|
||||
bool setMode(int width, int height, int pixelwidth, int pixelheight) override;
|
||||
bool setMode(int width, int height, int pixelwidth, int pixelheight, bool windowhasstencil) override;
|
||||
void unSetMode() override;
|
||||
|
||||
void setActive(bool active) override;
|
||||
@@ -155,6 +155,8 @@ private:
|
||||
|
||||
QuadIndices *quadIndices;
|
||||
|
||||
bool windowHasStencil;
|
||||
|
||||
}; // Graphics
|
||||
|
||||
} // opengl
|
||||
|
||||
Reference in New Issue
Block a user