summaryrefslogtreecommitdiff
path: root/libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp')
-rw-r--r--libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp b/libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp
index 4091a3b7a1..943848cc30 100644
--- a/libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp
+++ b/libs/JSystem/src/J3DGraphAnimator/J3DJoint.cpp
@@ -159,8 +159,8 @@ J3DJoint::J3DJoint() {
void J3DJoint::entryIn() {
MtxP anmMtx = j3dSys.getModel()->getAnmMtx(mJntNo);
- j3dSys.getDrawBuffer(0)->setZMtx(anmMtx);
- j3dSys.getDrawBuffer(1)->setZMtx(anmMtx);
+ j3dSys.getDrawBuffer(J3DSysDrawBuf_Opa)->setZMtx(anmMtx);
+ j3dSys.getDrawBuffer(J3DSysDrawBuf_Xlu)->setZMtx(anmMtx);
for (J3DMaterial* mesh = mMesh; mesh != NULL;) {
if (mesh->getShape()->checkFlag(J3DShpFlag_Visible)) {
mesh = mesh->getNext();