From 00fc3cb9b2c06026fab0e4760609fe02e027b6df Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 8 Mar 2026 16:02:56 +0000 Subject: Move all low level texture operations to DSA helpers in glTexture --- game/network/rail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/network') diff --git a/game/network/rail.cpp b/game/network/rail.cpp index d0a8bdd..1ae5aca 100644 --- a/game/network/rail.cpp +++ b/game/network/rail.cpp @@ -169,7 +169,7 @@ void RailLinks::render(const SceneShader & shader, const Frustum &) const { if (auto _ = glDebugScope(0); !links.empty()) { - texture->bind(); + texture->bind(0); glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(-1, 0); renderType(*this, shader.networkStraight, GL_POINTS); -- cgit v1.3