Skip to content

Commit

Permalink
fakematch mDoExt_3DlineMat1_c::draw
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Jun 27, 2024
1 parent 3e20d8d commit add1260
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/m_Do/m_Do_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,6 @@ void mDoExt_3DlineMat1_c::setMaterial() {

/* 800155DC-80015764 .text draw__19mDoExt_3DlineMat1_cFv */
void mDoExt_3DlineMat1_c::draw() {
/* Nonmatching */
GXLoadTexObj(&mTexObj, GX_TEXMAP0);
u16 h = GXGetTexObjHeight(&mTexObj);
u16 w = GXGetTexObjWidth(&mTexObj);
Expand All @@ -2111,10 +2110,12 @@ void mDoExt_3DlineMat1_c::draw() {
GXTexCoord1x16(j);
j++;

GXPosition1x16(j);
u16 j2 = j; // fakematch?
GXPosition1x16(j2);
GXNormal1x8(1);
GXTexCoord1x16(j);
j++;
GXTexCoord1x16(j2);
j2++;
j = j2;
}
GXEnd();
line++;
Expand Down

0 comments on commit add1260

Please sign in to comment.