mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-30 15:43:19 -04:00
builds on mac again
revert some useless ifdefs rm TARGET_PC in the wrong place remove stubbed version of functions
This commit is contained in:
@@ -2683,9 +2683,9 @@ void mDoExt_3DlineMat1_c::draw() {
|
||||
mDoExt_3Dline_c* lines = mpLines;
|
||||
u16 vert_num = field_0x34 << 1;
|
||||
for (s32 i = 0; i < mNumLines; i++) {
|
||||
GXSetArray(GX_VA_POS, ((mDoExt_3Dline_c*)((s32)lines + (mIsDrawn << 2)))->field_0x8, 0xC);
|
||||
GXSetArray(GX_VA_NRM, ((mDoExt_3Dline_c*)((s32)lines + (mIsDrawn << 2)))->field_0x10, 0x3);
|
||||
GXSetArray(GX_VA_TEX0, ((mDoExt_3Dline_c*)((s32)lines + (mIsDrawn << 2)))->field_0x18, 0x8);
|
||||
GXSetArray(GX_VA_POS, ((mDoExt_3Dline_c*)((intptr_t)lines + (mIsDrawn << 2)))->field_0x8, 0xC);
|
||||
GXSetArray(GX_VA_NRM, ((mDoExt_3Dline_c*)((intptr_t) lines + (mIsDrawn << 2)))->field_0x10, 0x3);
|
||||
GXSetArray(GX_VA_TEX0, ((mDoExt_3Dline_c*)((intptr_t)lines + (mIsDrawn << 2)))->field_0x18, 0x8);
|
||||
GXBegin(GX_TRIANGLESTRIP, GX_VTXFMT0, vert_num);
|
||||
|
||||
u16 j = 0;
|
||||
|
||||
Reference in New Issue
Block a user