summaryrefslogtreecommitdiff
path: root/ui/editNetwork.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-10-30 17:08:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-10-30 17:08:59 +0000
commitd63f393b7bcabd7f6569b87a2dedbc8333c47554 (patch)
treea34b8f2cb32381f912f85d9cd6fb2c0dfd8a3e6f /ui/editNetwork.cpp
parentEditNetworkOf constructor may have single param, should be explicit (diff)
downloadilt-d63f393b7bcabd7f6569b87a2dedbc8333c47554.tar.bz2
ilt-d63f393b7bcabd7f6569b87a2dedbc8333c47554.tar.xz
ilt-d63f393b7bcabd7f6569b87a2dedbc8333c47554.zip
Setting texture unit on bind
Always sets the target unit before binding, allows specifying the unit
Diffstat (limited to 'ui/editNetwork.cpp')
-rw-r--r--ui/editNetwork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/editNetwork.cpp b/ui/editNetwork.cpp
index df1be8f..277407f 100644
--- a/ui/editNetwork.cpp
+++ b/ui/editNetwork.cpp
@@ -50,7 +50,7 @@ void
EditNetwork::render(const Shader & shader) const
{
if (builder) {
- blue.Bind();
+ blue.bind();
shader.setModel(Location {}, Shader::Program::StaticPos);
builder->render(shader);
}