fixed JmeBatchRendererBackend that was not properly reseting the forcedRenderState of the renderer causing depth test and depth write to be disable once th first frame was rendered

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10630 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
rem..om 2013-05-22 18:26:46 +00:00
parent 4d1e3dc9b5
commit e2614b51c7

View File

@ -452,6 +452,7 @@ public class JmeBatchRenderBackend implements BatchRenderBackend {
material.setTexture("ColorMap", textureAtlas);
material.render(meshGeometry, renderManager);
renderManager.setForcedRenderState(null);
}
private RenderState.BlendMode convertBlend(final BlendMode blendMode) {