mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
TextureCache: Check the number of layers before reusing a texture.
This commit is contained in:
parent
272ea90ca5
commit
5944d15021
3 changed files with 8 additions and 3 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
enum TexCacheEntryType type;
|
||||
|
||||
unsigned int num_mipmaps;
|
||||
unsigned int num_layers;
|
||||
unsigned int native_width, native_height; // Texture dimensions from the GameCube's point of view
|
||||
unsigned int virtual_width, virtual_height; // Texture dimensions from OUR point of view - for hires textures or scaled EFB copies
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue