summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-07 21:21:23 +0300
committerGitHub <noreply@github.com>2026-03-07 18:21:23 +0000
commit02f30ea15b349d1ed98b608ed06ec88c834592dd (patch)
tree5148a3935c43b64f209f2b13e2a0b1bbe987444b /src/render/pass/SurfacePassElement.hpp
parentb227efc8492468cc925014a6c8446a3d044b01e8 (diff)
renderer: refactor gl renderer (#13488)
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
-rw-r--r--src/render/pass/SurfacePassElement.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/pass/SurfacePassElement.hpp b/src/render/pass/SurfacePassElement.hpp
index bd02417d..c76b475d 100644
--- a/src/render/pass/SurfacePassElement.hpp
+++ b/src/render/pass/SurfacePassElement.hpp
@@ -1,5 +1,6 @@
#pragma once
#include "PassElement.hpp"
+#include "TexPassElement.hpp"
#include <optional>
#include "../../helpers/time/Time.hpp"
@@ -41,7 +42,7 @@ class CSurfacePassElement : public IPassElement {
CBox clipBox = {}; // scaled coordinates
- uint32_t discardMode = 0;
+ uint32_t discardMode = DISCARD_OPAQUE;
float discardOpacity = 0.f;
bool useNearestNeighbor = false;