mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
love.graphics: move more platform-independent code out of the opengl backend
--HG-- branch : minor
This commit is contained in:
@@ -97,7 +97,6 @@ public:
|
||||
|
||||
void setColor(Colorf c) override;
|
||||
|
||||
void setCanvas(const RenderTargets &rts) override;
|
||||
void setCanvas() override;
|
||||
|
||||
void setScissor(const Rect &rect) override;
|
||||
@@ -128,6 +127,7 @@ public:
|
||||
private:
|
||||
|
||||
love::graphics::StreamBuffer *newStreamBuffer(BufferType type, size_t size) override;
|
||||
void setCanvasInternal(const RenderTargets &rts, int w, int h, int pixelw, int pixelh, bool hasSRGBcanvas) override;
|
||||
void initCapabilities() override;
|
||||
void getAPIStats(int &drawcalls, int &shaderswitches) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user