mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
remove more references to gScreenDPI
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
extern "C"
|
||||
{
|
||||
#include "../../config.h"
|
||||
#include "../../interface/screenshot.h"
|
||||
#include "../../interface/window.h"
|
||||
#include "../../intro.h"
|
||||
#include "../drawing.h"
|
||||
@@ -315,6 +316,11 @@ public:
|
||||
Display();
|
||||
}
|
||||
|
||||
sint32 Screenshot() override
|
||||
{
|
||||
return screenshot_dump_png(&_bitsDPI);
|
||||
}
|
||||
|
||||
IDrawingContext * GetDrawingContext(rct_drawpixelinfo * dpi) override
|
||||
{
|
||||
_drawingContext->SetDPI(dpi);
|
||||
|
||||
Reference in New Issue
Block a user