Fix #1338
This commit is contained in:
parent
44e77a0eee
commit
e583ac3e1b
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue