Clean up pipelines

This commit is contained in:
luboslenco
2020-01-17 00:38:22 +01:00
parent 62c9bca66e
commit e25043bbec
5 changed files with 22 additions and 2 deletions
+3
View File
@@ -238,6 +238,7 @@ class Layers {
imga.g2.begin(false); // Copy to temp
imga.g2.pipeline = pipeCopy;
imga.g2.drawImage(l0.texpaint, 0, 0);
imga.g2.pipeline = null;
imga.g2.end();
l0.texpaint.g4.begin();
@@ -257,6 +258,7 @@ class Layers {
imga.g2.begin(false);
imga.g2.pipeline = pipeCopy;
imga.g2.drawImage(l0.texpaint_nor, 0, 0);
imga.g2.pipeline = null;
imga.g2.end();
l0.texpaint_nor.g4.begin();
@@ -275,6 +277,7 @@ class Layers {
imga.g2.begin(false);
imga.g2.pipeline = pipeCopy;
imga.g2.drawImage(l0.texpaint_pack, 0, 0);
imga.g2.pipeline = null;
imga.g2.end();
l0.texpaint_pack.g4.begin();