mirror of https://github.com/sm64pc/sm64pc.git
Fix texture rectangles.
This commit is contained in:
parent
097caffd75
commit
f099245092
|
@ -1609,6 +1609,10 @@ static void gfx_dp_set_fill_color(uint32_t packed_color) {
|
|||
}
|
||||
|
||||
static void gfx_draw_rectangle(int32_t ulx, int32_t uly, int32_t lrx, int32_t lry) {
|
||||
#ifdef GFX_SEPARATE_PROJECTIONS
|
||||
separate_projections.is_ortho = true;
|
||||
#endif
|
||||
|
||||
uint32_t saved_other_mode_h = rdp.other_mode_h;
|
||||
uint32_t cycle_type = (rdp.other_mode_h & (3U << G_MDSFT_CYCLETYPE));
|
||||
|
||||
|
|
Loading…
Reference in New Issue