From 286c5edeb633dd84b02ca0266d6823836d7dc251 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 11 Jun 2012 22:52:00 +0000 Subject: [PATCH] neercs: some refactoring. --- src/gpu/shader.cpp | 2 -- 1 file changed, 2 deletions(-) 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__