@@ -354,6 +354,9 @@ namespace oxygine
Rect PostProcess::getScreenRect(const Actor& actor) const
{
+ if (_options._flags & PostProcessOptions::flag_screen)
+ return _screen;
+
Rect screen;
Rect display(Point(0, 0), core::getDisplaySize());
@@ -20,6 +20,7 @@ namespace oxygine
flag_singleR2T = 1,
flag_fullscreen = 1 << 1,
+ flag_screen = 1 << 2,
};
PostProcessOptions(int flags = 0) : _flags(flags), _downscale(1) {}