25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
Index: /main/trunk/src/graphics/material.cpp
|
|
===================================================================
|
|
--- main/trunk/src/graphics/material.cpp (revision 10675)
|
|
+++ main/trunk/src/graphics/material.cpp (revision 10710)
|
|
@@ -723,8 +723,8 @@
|
|
m->MaterialType = video::EMT_ONETEXTURE_BLEND ;
|
|
m->MaterialTypeParam =
|
|
- pack_texureBlendFunc(video::EBF_SRC_ALPHA,
|
|
- video::EBF_ONE_MINUS_SRC_ALPHA,
|
|
- video::EMFN_MODULATE_1X,
|
|
- video::EAS_TEXTURE | video::EAS_VERTEX_COLOR);
|
|
+ pack_textureBlendFunc(video::EBF_SRC_ALPHA,
|
|
+ video::EBF_ONE_MINUS_SRC_ALPHA,
|
|
+ video::EMFN_MODULATE_1X,
|
|
+ video::EAS_TEXTURE | video::EAS_VERTEX_COLOR);
|
|
|
|
modes++;
|
|
@@ -765,5 +765,5 @@
|
|
// more customizable EMT_ONETEXTURE_BLEND instead
|
|
m->MaterialType = video::EMT_ONETEXTURE_BLEND ;
|
|
- m->MaterialTypeParam = pack_texureBlendFunc(video::EBF_SRC_ALPHA,
|
|
+ m->MaterialTypeParam = pack_textureBlendFunc(video::EBF_SRC_ALPHA,
|
|
video::EBF_ONE,
|
|
video::EMFN_MODULATE_1X,
|