mirror of https://github.com/xemu-project/xemu.git
nv2a: Limit base, max mipmap level
This commit is contained in:
parent
0efef88181
commit
14748d9bbb
|
@ -6320,6 +6320,8 @@ static void pgraph_bind_textures(NV2AState *d)
|
|||
}
|
||||
}
|
||||
assert(levels > 0);
|
||||
min_mipmap_level = MIN(levels-1, min_mipmap_level);
|
||||
max_mipmap_level = MIN(levels-1, max_mipmap_level);
|
||||
}
|
||||
|
||||
size_t length = 0;
|
||||
|
|
Loading…
Reference in New Issue