1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Invalidates the stencil buffer upon buffer resizes.

This commit is contained in:
Thomas Harte
2018-11-20 19:51:11 -05:00
parent f12d734957
commit 38ffc4fdb3
2 changed files with 16 additions and 3 deletions
+1
View File
@@ -107,6 +107,7 @@ class ScanTarget: public Outputs::Display::ScanTarget {
// rectangle is used to ensure untouched pixels properly decay.
std::unique_ptr<TextureTarget> accumulation_texture_;
Rectangle full_display_rectangle_;
bool stencil_is_valid_ = false;
// Ephemeral state that helps in line composition.
Line *active_line_ = nullptr;