projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34c19f
)
removed useless SMaterial parameter from mapblock
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 14 Feb 2011 14:12:38 +0000
(16:12 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 14 Feb 2011 14:12:38 +0000
(16:12 +0200)
src/mapblock.cpp
patch
|
blob
|
history
diff --git
a/src/mapblock.cpp
b/src/mapblock.cpp
index 63f33ffc0d2d0cedb4a3264a728ced5a70946c3b..422d3b531296e2b4ac6aca0e2ba472f9927a6862 100644
(file)
--- a/
src/mapblock.cpp
+++ b/
src/mapblock.cpp
@@
-737,7
+737,7
@@
void MapBlock::updateMesh(u32 daynight_ratio)
video::SMaterial material;
material.Lighting = false;
- material.BackfaceCulling = false;
+
//
material.BackfaceCulling = false;
material.setFlag(video::EMF_BILINEAR_FILTER, false);
//material.setFlag(video::EMF_ANTI_ALIASING, video::EAAM_OFF);
//material.setFlag(video::EMF_ANTI_ALIASING, video::EAAM_SIMPLE);