Cleanup struct TextureCache definition.

This commit is contained in:
riccardom 2009-01-01 16:51:13 +00:00
parent 61f71511ca
commit 4844c3d567
1 changed files with 3 additions and 3 deletions

View File

@ -218,9 +218,9 @@ static void _xglDisable(GLenum cap) {
//================================================= Textures //================================================= Textures
#define MAX_TEXTURE 500 #define MAX_TEXTURE 500
#ifdef SSE2 #ifdef SSE2
typedef ALIGN(16) struct struct ALIGN(16) TextureCache
#else #else
typedef ALIGN(8) struct struct ALIGN(8) TextureCache
#endif #endif
{ {
GLenum id; GLenum id;
@ -240,7 +240,7 @@ typedef ALIGN(8) struct
//set if this texture is suspected be invalid due to a vram reconfigure //set if this texture is suspected be invalid due to a vram reconfigure
bool suspectedInvalid; bool suspectedInvalid;
} TextureCache; };
TextureCache texcache[MAX_TEXTURE+1]; TextureCache texcache[MAX_TEXTURE+1];
u32 texcache_count; u32 texcache_count;