diff --git a/src/gpu/shader.cpp b/src/gpu/shader.cpp index f44e6ceb..f368159e 100644 --- a/src/gpu/shader.cpp +++ b/src/gpu/shader.cpp @@ -519,8 +519,6 @@ void Shader::SetUniform(ShaderUniform const &uni, mat4 const &m) void Shader::SetTexture(ShaderUniform const &uni, int id, int index) { - if (id == -1) - return; #if defined USE_D3D9 || defined _XBOX /* FIXME: unimplemented */ #elif !defined __CELLOS_LV2__