1
0
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:
Ted John
2016-06-05 16:07:32 +01:00
parent ebd9710fdf
commit a8fed0c4b8
7 changed files with 28 additions and 14 deletions

View File

@@ -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);