menu upgrades
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / model_character_view.h
index 6f4c25af9345b7029b6d1e19c1434fd81e11ceb0..bae5d38721bcd9c285308f4a3c88059d61ae9348 100644 (file)
@@ -480,7 +480,7 @@ static void shader_model_character_view_uInverseRatioMain(v3f v){
    glUniform3fv(_uniform_model_character_view_uInverseRatioMain,1,v);
 }
 static void shader_model_character_view_uDepthCompare(int b){
-   glUniform1f(_uniform_model_character_view_uDepthCompare,b);
+   glUniform1i(_uniform_model_character_view_uDepthCompare,b);
 }
 static void shader_model_character_view_g_world_depth(int i){
    glUniform1i(_uniform_model_character_view_g_world_depth,i);