mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 23:25:40 +00:00
Skip processing the mipmap section of memory. The real3d doesn't create mipmaps down to 1x1 that is needed to do mipmapping properly on modern hardware anyway.
This commit is contained in:
parent
2ddc8a30e0
commit
84ae8f035c
|
@ -78,6 +78,12 @@ bool CNew3D::Init(unsigned xOffset, unsigned yOffset, unsigned xRes, unsigned yR
|
|||
|
||||
void CNew3D::UploadTextures(unsigned x, unsigned y, unsigned width, unsigned height)
|
||||
{
|
||||
if (x >= 1024) {
|
||||
if (y >= 512 && y < 1024 || y >= 1536 && y < 2048) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
m_texSheet.Invalidate(x, y, width, height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue