summaryrefslogtreecommitdiff
path: root/ui/editNetwork.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r--ui/editNetwork.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h
index 3501ac9..1ba2e13 100644
--- a/ui/editNetwork.h
+++ b/ui/editNetwork.h
@@ -18,7 +18,7 @@ public:
bool click(const SDL_MouseButtonEvent & e, const Ray &) override;
bool move(const SDL_MouseMotionEvent & e, const Ray &) override;
bool handleInput(const SDL_Event & e, const UIComponent::Position &) override;
- void render(const Shader &) const override;
+ void render(const SceneShader &) const override;
void render(const UIShader & shader, const UIComponent::Position & pos) const override;
using NetworkClickPos = std::variant<glm::vec3, Node::Ptr>;
@@ -26,7 +26,7 @@ public:
class Builder {
public:
virtual ~Builder() = default;
- virtual void render(const Shader & shader) const;
+ virtual void render(const SceneShader & shader) const;
virtual std::string hint() const = 0;
virtual void click(Network *, const GeoData *, const SDL_MouseButtonEvent &, const Ray &) = 0;
virtual void move(Network *, const GeoData *, const SDL_MouseMotionEvent &, const Ray &) = 0;