Fixed a possible bug in TextureAtlas.java

It seems that the variable was the wrong one when adding the normal texture to the atlas.
This commit is contained in:
NemesisMate 2015-12-15 19:13:12 +00:00
parent b006204c0f
commit 19577c3288

View File

@ -155,7 +155,7 @@ public class TextureAtlas {
return false;
} else {
if (normal != null && normal.getKey() != null) {
addTexture(diffuse, "NormalMap", keyName);
addTexture(normal, "NormalMap", keyName);
}
if (specular != null && specular.getKey() != null) {
addTexture(specular, "SpecularMap", keyName);