summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-29 00:41:45 +0300
committerGitHub <noreply@github.com>2026-03-28 21:41:45 +0000
commit38a7f03cf0e5ee116794a78581634ba3dab508fa (patch)
tree969891411b2af4e437a183004018cfc359a3057e /src/render/pass/SurfacePassElement.hpp
parentef2e8dfd5f7e6ee55fa7bc48e44974e64938d14a (diff)
renderer: refactor part 7: api fixes (#13631)
Part 7 of ujin's refactors --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
-rw-r--r--src/render/pass/SurfacePassElement.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/pass/SurfacePassElement.hpp b/src/render/pass/SurfacePassElement.hpp
index c76b475d..ebf5561c 100644
--- a/src/render/pass/SurfacePassElement.hpp
+++ b/src/render/pass/SurfacePassElement.hpp
@@ -5,7 +5,9 @@
#include "../../helpers/time/Time.hpp"
class CWLSurfaceResource;
-class ITexture;
+namespace Render {
+ class ITexture;
+}
class CSyncTimeline;
class CSurfacePassElement : public IPassElement {
@@ -17,7 +19,7 @@ class CSurfacePassElement : public IPassElement {
void* data = nullptr;
SP<CWLSurfaceResource> surface = nullptr;
- SP<ITexture> texture = nullptr;
+ SP<Render::ITexture> texture = nullptr;
bool mainSurface = true;
double w = 0, h = 0;
int rounding = 0;