Changeset 8283 for code/branches/kicklib2/src/external/ogreceguirenderer
- Timestamp:
- Apr 21, 2011, 6:32:28 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
/code/branches/kicklib merged: 7940-7948,7950-7951,7953,7956-7957,7959-7961,7964-7965,7967-7969,7971,7973-7974
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/external/ogreceguirenderer/OgreCEGUIRenderer.cpp
r5781 r8283 455 455 d_render_sys->_setTextureAddressingMode(0, d_uvwAddressMode); 456 456 d_render_sys->_setTextureMatrix(0, Matrix4::IDENTITY); 457 #if OGRE_VERSION >= 0x010600458 457 d_render_sys->_setAlphaRejectSettings(CMPF_ALWAYS_PASS, 0, false); 459 #else460 d_render_sys->_setAlphaRejectSettings(CMPF_ALWAYS_PASS, 0);461 #endif462 458 d_render_sys->_setTextureBlendMode(0, d_colourBlendMode); 463 459 d_render_sys->_setTextureBlendMode(0, d_alphaBlendMode); -
code/branches/kicklib2/src/external/ogreceguirenderer/VERSION
r5781 r8283 1 This library is part of the OGRE v1.6. 1source.1 This library is part of the OGRE v1.6.5 source. 2 2 3 3 ----- -
code/branches/kicklib2/src/external/ogreceguirenderer/changes_orxonox.diff
r7163 r8283 18 18 #include "OgreCEGUIRenderer.h" 19 19 #include "OgreCEGUITexture.h" 20 @@ -454,7 +454,11 @@21 d_render_sys->_setTextureUnitFiltering(0, FO_LINEAR, FO_LINEAR, FO_POINT);22 d_render_sys->_setTextureAddressingMode(0, d_uvwAddressMode);23 d_render_sys->_setTextureMatrix(0, Matrix4::IDENTITY);24 +#if OGRE_VERSION >= 0x01060025 + d_render_sys->_setAlphaRejectSettings(CMPF_ALWAYS_PASS, 0, false);26 +#else27 d_render_sys->_setAlphaRejectSettings(CMPF_ALWAYS_PASS, 0);28 +#endif29 d_render_sys->_setTextureBlendMode(0, d_colourBlendMode);30 d_render_sys->_setTextureBlendMode(0, d_alphaBlendMode);31 d_render_sys->_disableTextureUnitsFrom(1);32 20 --- OgreCEGUIRenderer.h Wed Jan 28 21:14:09 2009 33 21 +++ OgreCEGUIRenderer.h Wed Jan 28 21:06:46 2009
Note: See TracChangeset
for help on using the changeset viewer.