renderer: respect viewporter dest on base surfaces

This commit is contained in:
Vaxry
2023-10-25 22:05:04 +01:00
parent 6650e4ba85
commit 8991be671f
3 changed files with 17 additions and 6 deletions

View File

@@ -22,6 +22,7 @@ class CWLSurface {
bool exists() const;
bool small() const; // means surface is smaller than the requested size
Vector2D correctSmallVec() const; // returns a corrective vector for small() surfaces
Vector2D getViewporterCorrectedSize() const;
// allow stretching. Useful for plugins.
bool m_bFillIgnoreSmall = false;