set unique surface_ pointer for all source types

This commit is contained in:
brunoherbelin
2020-11-12 18:38:51 +01:00
parent d33ff427b5
commit 7c5374552d
7 changed files with 24 additions and 26 deletions

View File

@@ -169,6 +169,9 @@ protected:
// blendingshader provides mixing controls
ImageShader *blendingshader_;
// surface to draw on
Surface *surface_;
// mode for display
Mode mode_;
@@ -215,7 +218,6 @@ protected:
void init() override;
void replaceRenderingShader() override;
Surface *clonesurface_;
Source *origin_;
};