Update makefile

This commit is contained in:
Ian Curtis 2018-10-01 17:42:45 +00:00
parent 3dbfa73734
commit 7bcc70a170
2 changed files with 4 additions and 2 deletions

View file

@ -94,6 +94,8 @@ SRC_FILES = \
Src/Graphics/Legacy3D/Legacy3D.cpp \ Src/Graphics/Legacy3D/Legacy3D.cpp \
Src/Graphics/Legacy3D/Models.cpp \ Src/Graphics/Legacy3D/Models.cpp \
Src/Graphics/Legacy3D/TextureRefs.cpp \ Src/Graphics/Legacy3D/TextureRefs.cpp \
Src/Graphics/New3D/GLSLShader.cpp \
Src/Graphics/New3D/R3DFrameBuffers.cpp \
Src/Graphics/New3D/New3D.cpp \ Src/Graphics/New3D/New3D.cpp \
Src/Graphics/New3D/Mat4.cpp \ Src/Graphics/New3D/Mat4.cpp \
Src/Graphics/New3D/Model.cpp \ Src/Graphics/New3D/Model.cpp \

View file

@ -113,12 +113,12 @@ struct Mesh
} }
break; break;
case Layer::trans1: case Layer::trans1:
if (!textureAlpha && !polyAlpha || transLSelect) { if ((!textureAlpha && !polyAlpha) || transLSelect) {
return false; return false;
} }
break; break;
case Layer::trans2: case Layer::trans2:
if (!textureAlpha && !polyAlpha || !transLSelect) { if ((!textureAlpha && !polyAlpha) || !transLSelect) {
return false; return false;
} }
break; break;