renderer: respect viewporter dest on base surfaces
This commit is contained in:
parent
6650e4ba85
commit
8991be671f
3 changed files with 17 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue