mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 13:08:11 -04:00
Merge pull request #449 from refractionpcsx2/gs_mip_lod_limit
GS: Remove 8bit cast on LOD values
This commit is contained in:
commit
1d8394f4fc
|
@ -3551,7 +3551,7 @@ void GraphicsSynthesizerThread::calculate_LOD(TexLookupInfo &info)
|
|||
}
|
||||
|
||||
//Determine mipmap level
|
||||
info.mipmap_level = min((int8_t)info.LOD, (int8_t)current_ctx->tex1.max_MIP_level);
|
||||
info.mipmap_level = min((int32_t)info.LOD, (int32_t)current_ctx->tex1.max_MIP_level);
|
||||
|
||||
if (info.mipmap_level < 0)
|
||||
info.mipmap_level = 0;
|
||||
|
|
Loading…
Reference in a new issue