TextureCache: Check the number of layers before reusing a texture.

This commit is contained in:
Jules Blok
2014-10-28 14:47:13 +01:00
parent 272ea90ca5
commit 5944d15021
3 changed files with 8 additions and 3 deletions

View File

@ -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