interlacing mode

This commit is contained in:
h4570
2022-07-24 23:03:48 +02:00
parent 7c1ab0bfaa
commit c1f88d2f15
5 changed files with 29 additions and 17 deletions
@@ -33,6 +33,11 @@ class RendererSettings {
const float& getProjectionScale() const { return projectionScale; }
const float& getAspectRatio() const { return aspectRatio; }
float getInterlacedHeightF() const { return getHeight() / 2; }
unsigned int getInterlacedHeightUI() const {
return static_cast<unsigned int>(getInterlacedHeightF());
}
static void copy(RendererSettings* out, const RendererSettings* in);
void set(const RendererSettings& v);