Merge pull request #1339 from Frank-74/patch-5

Fix #1338
This commit is contained in:
zilmar 2017-07-28 10:55:29 +10:00 committed by GitHub
commit 8c88b25a9e
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");
} }