mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
graphics: clean up some shared backbuffer settings code.
This commit is contained in:
@@ -240,11 +240,10 @@ public:
|
||||
void clear(const std::vector<OptionalColorD> &colors, OptionalInt stencil, OptionalDouble depth) override;
|
||||
void discard(const std::vector<bool>& colorbuffers, bool depthstencil) override;
|
||||
void present(void *screenshotCallbackdata) override;
|
||||
void backbufferChanged(int width, int height, int pixelwidth, int pixelheight, bool backbufferstencil, bool backbufferdepth, int msaa) override;
|
||||
bool setMode(void *context, int width, int height, int pixelwidth, int pixelheight, bool backbufferstencil, bool backbufferdepth, int msaa) override;
|
||||
void backbufferChanged(const BackbufferSettings &settings) override;
|
||||
bool setMode(void *context, const BackbufferSettings &settings) override;
|
||||
void unSetMode() override;
|
||||
void setActive(bool active) override;
|
||||
int getRequestedBackbufferMSAA() const override;
|
||||
int getBackbufferMSAA() const override;
|
||||
void setColor(Colorf c) override;
|
||||
void setScissor(const Rect &rect) override;
|
||||
@@ -364,7 +363,6 @@ private:
|
||||
VkInstance instance = VK_NULL_HANDLE;
|
||||
VkPhysicalDevice physicalDevice = VK_NULL_HANDLE;
|
||||
uint32_t deviceApiVersion = VK_API_VERSION_1_0;
|
||||
int requestedMsaa = 0;
|
||||
VkDevice device = VK_NULL_HANDLE;
|
||||
OptionalInstanceExtensions optionalInstanceExtensions;
|
||||
OptionalDeviceExtensions optionalDeviceExtensions;
|
||||
|
||||
Reference in New Issue
Block a user