Daniele Bartolini 9 rokov pred
rodič
commit
aae0cfbd85
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/world/material.cpp

+ 1 - 1
src/world/material.cpp

@@ -29,7 +29,7 @@ void Material::bind(ResourceManager& rm, ShaderManager& sm, u8 view) const
 		sampler.idx = th->sampler_handle;
 		sampler.idx = th->sampler_handle;
 		texture.idx = teximg->handle.idx;
 		texture.idx = teximg->handle.idx;
 
 
-		bgfx::setTexture(i, sampler, texture, BGFX_TEXTURE_MIN_POINT | BGFX_TEXTURE_MAG_POINT);
+		bgfx::setTexture(i, sampler, texture);
 	}
 	}
 
 
 	// Set uniforms
 	// Set uniforms