mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-02 17:53:06 -04:00
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
This commit is contained in:
@@ -222,12 +222,7 @@ static void ke_pos_set(st_class* i_this, st_ke_s* param_2, int param_3) {
|
||||
static void ke_disp(st_class* i_this) {
|
||||
fopAc_ac_c* actor = &i_this->actor;
|
||||
|
||||
#ifdef __MWERKS__
|
||||
i_this->mLineMat.update(10, 1.2f, (GXColor){0xFF, 0x64, 0, 0xFF}, 2, &actor->tevStr);
|
||||
#else
|
||||
GXColor color = (GXColor){0xFF, 0x64, 0, 0xFF};
|
||||
i_this->mLineMat.update(10, 1.2f, color, 2, &actor->tevStr);
|
||||
#endif
|
||||
dComIfGd_set3DlineMat(&i_this->mLineMat);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user