mirror of
https://github.com/zeldaret/tww.git
synced 2026-05-24 07:10:48 -04:00
J3DGD OK
This commit is contained in:
+1
-1
@@ -861,7 +861,7 @@ config.libs = [
|
||||
JSystemLib(
|
||||
"J3DGraphBase",
|
||||
[
|
||||
Object(NonMatching, "JSystem/J3DGraphBase/J3DGD.cpp"),
|
||||
Object(Matching, "JSystem/J3DGraphBase/J3DGD.cpp"),
|
||||
Object(Matching, "JSystem/J3DGraphBase/J3DSys.cpp"),
|
||||
Object(Matching, "JSystem/J3DGraphBase/J3DVertex.cpp"),
|
||||
Object(NonMatching, "JSystem/J3DGraphBase/J3DTransform.cpp"),
|
||||
|
||||
@@ -134,9 +134,9 @@ void J3DGDSetVtxAttrFmtv(GXVtxFmt fmt, GXVtxAttrFmtList* vtxAttr, bool forceNBT)
|
||||
nrmCompCnt = GX_NRM_NBT;
|
||||
nbt3 = true;
|
||||
} else {
|
||||
nrmCompCnt = GX_NRM_NBT;
|
||||
if (!forceNBT)
|
||||
nrmCompCnt = vtxAttr->mCompCnt;
|
||||
// possible fakematch? need to cast vtxAttr->mCompCnt to int to put value in r0 temporarily
|
||||
// nrmCompCnt = forceNBT ? GX_NRM_NBT : vtxAttr->mCompCnt;
|
||||
nrmCompCnt = (GXCompCnt)(forceNBT ? GX_NRM_NBT : (int)(vtxAttr->mCompCnt));
|
||||
nbt3 = false;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user