Codechange: make all Providers fully const (Font/Screenshot/Sound)
This commit is contained in:
@@ -31,7 +31,7 @@ class ScreenshotProvider_Png : public ScreenshotProvider {
|
||||
public:
|
||||
ScreenshotProvider_Png() : ScreenshotProvider("png", "PNG", 0) {}
|
||||
|
||||
bool MakeImage(std::string_view name, const ScreenshotCallback &callb, uint w, uint h, int pixelformat, const Colour *palette) override
|
||||
bool MakeImage(std::string_view name, const ScreenshotCallback &callb, uint w, uint h, int pixelformat, const Colour *palette) const override
|
||||
{
|
||||
png_color rq[256];
|
||||
uint i, y, n;
|
||||
|
||||
Reference in New Issue
Block a user