This commit is contained in:
Frank-74 2017-07-28 01:32:21 +01:00 committed by GitHub
parent 44e77a0eee
commit e583ac3e1b
1 changed files with 2 additions and 2 deletions

View File

@ -468,7 +468,7 @@ void GetTexInfo(int id, int tile)
static void SelectTBuffTex(TBUFF_COLOR_IMAGE * pTBuffTex) static void SelectTBuffTex(TBUFF_COLOR_IMAGE * pTBuffTex)
{ {
WriteTrace(TraceRDP, TraceDebug, "SelectTBuffTex: tex: %d, tmu: %d, tile: %d", rdp.tex, pTBuffTex->tmu, pTBuffTex->tile); WriteTrace(TraceRDP, TraceDebug, "SelectTBuffTex: tex: %d, tmu: %d, tile: %d", rdp.tex, pTBuffTex->tmu, pTBuffTex->tile);
gfxTexSource(pTBuffTex->tmu, pTBuffTex->tex_addr, GR_MIPMAPLEVELMASK_BOTH, &(pTBuffTex->info)); gfxTexSource((gfxChipID_t)pTBuffTex->tile, pTBuffTex->tex_addr, GR_MIPMAPLEVELMASK_BOTH, &(pTBuffTex->info));
} }
//**************************************************************** //****************************************************************
@ -1677,4 +1677,4 @@ void LoadTex(int id, gfxChipID_t tmu)
gfxTexSource(tmu, tex_addr, GR_MIPMAPLEVELMASK_BOTH, t_info); gfxTexSource(tmu, tex_addr, GR_MIPMAPLEVELMASK_BOTH, t_info);
} }
WriteTrace(TraceRDP, TraceDebug, " | | +- LoadTex end"); WriteTrace(TraceRDP, TraceDebug, " | | +- LoadTex end");
} }