From d63f393b7bcabd7f6569b87a2dedbc8333c47554 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 30 Oct 2022 17:08:59 +0000 Subject: Setting texture unit on bind Always sets the target unit before binding, allows specifying the unit --- ui/editNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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); } -- cgit v1.2.3