diff --git a/Makefiles/Makefile.inc b/Makefiles/Makefile.inc index 5af3dd9..225d116 100644 --- a/Makefiles/Makefile.inc +++ b/Makefiles/Makefile.inc @@ -94,6 +94,8 @@ SRC_FILES = \ Src/Graphics/Legacy3D/Legacy3D.cpp \ Src/Graphics/Legacy3D/Models.cpp \ Src/Graphics/Legacy3D/TextureRefs.cpp \ + Src/Graphics/New3D/GLSLShader.cpp \ + Src/Graphics/New3D/R3DFrameBuffers.cpp \ Src/Graphics/New3D/New3D.cpp \ Src/Graphics/New3D/Mat4.cpp \ Src/Graphics/New3D/Model.cpp \ diff --git a/Src/Graphics/New3D/Model.h b/Src/Graphics/New3D/Model.h index e6c1b59..4e78daa 100644 --- a/Src/Graphics/New3D/Model.h +++ b/Src/Graphics/New3D/Model.h @@ -113,12 +113,12 @@ struct Mesh } break; case Layer::trans1: - if (!textureAlpha && !polyAlpha || transLSelect) { + if ((!textureAlpha && !polyAlpha) || transLSelect) { return false; } break; case Layer::trans2: - if (!textureAlpha && !polyAlpha || !transLSelect) { + if ((!textureAlpha && !polyAlpha) || !transLSelect) { return false; } break;