forked from Mirrorlandia_minetest/minetest
Fix remnants of s32 enable_shaders
This commit is contained in:
parent
1ad9365d34
commit
af490330e7
@ -166,10 +166,8 @@
|
|||||||
#trilinear_filter = false
|
#trilinear_filter = false
|
||||||
# Set to true to pre-generate all item visuals
|
# Set to true to pre-generate all item visuals
|
||||||
#preload_item_visuals = true
|
#preload_item_visuals = true
|
||||||
# 0: disable shaders
|
# Set to true to enable shaders. Disable them if video_driver = direct3d9/8.
|
||||||
# (1: low level shaders; not implemented)
|
#enable_shaders = true
|
||||||
# 2: enable high level shaders
|
|
||||||
#enable_shaders = 2
|
|
||||||
# Set to true to enable textures bumpmapping. Requires shaders enabled.
|
# Set to true to enable textures bumpmapping. Requires shaders enabled.
|
||||||
#enable_bumpmapping = false
|
#enable_bumpmapping = false
|
||||||
# The time in seconds it takes between repeated
|
# The time in seconds it takes between repeated
|
||||||
|
@ -1294,7 +1294,7 @@ MapBlockMesh::~MapBlockMesh()
|
|||||||
|
|
||||||
bool MapBlockMesh::animate(bool faraway, float time, int crack, u32 daynight_ratio)
|
bool MapBlockMesh::animate(bool faraway, float time, int crack, u32 daynight_ratio)
|
||||||
{
|
{
|
||||||
bool enable_shaders = (g_settings->getS32("enable_shaders") > 0);
|
bool enable_shaders = g_settings->getBool("enable_shaders");
|
||||||
bool enable_bumpmapping = g_settings->getBool("enable_bumpmapping");
|
bool enable_bumpmapping = g_settings->getBool("enable_bumpmapping");
|
||||||
|
|
||||||
if(!m_has_animation)
|
if(!m_has_animation)
|
||||||
|
Loading…
Reference in New Issue
Block a user