mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 19:45:46 +00:00
maxwell3d: Allow Texture2DNoMipmap as Texture2D.
This commit is contained in:
parent
0f02c41f18
commit
de84b74dd4
1 changed files with 2 additions and 1 deletions
|
@ -223,7 +223,8 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const {
|
||||||
ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear,
|
ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear,
|
||||||
"TIC versions other than BlockLinear are unimplemented");
|
"TIC versions other than BlockLinear are unimplemented");
|
||||||
|
|
||||||
ASSERT_MSG(tic_entry.texture_type == Texture::TextureType::Texture2D,
|
ASSERT_MSG((tic_entry.texture_type == Texture::TextureType::Texture2D) ||
|
||||||
|
(tic_entry.texture_type == Texture::TextureType::Texture2DNoMipmap),
|
||||||
"Texture types other than Texture2D are unimplemented");
|
"Texture types other than Texture2D are unimplemented");
|
||||||
|
|
||||||
auto r_type = tic_entry.r_type.Value();
|
auto r_type = tic_entry.r_type.Value();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue