\r
#define _IN_TEXTURE\r
\r
-#ifdef _WINDOWS\r
-#include "stdafx.h"\r
-\r
-#include "externals.h"\r
-#include "texture.h"\r
-#include "gpu.h"\r
-#include "prim.h"\r
-#else\r
#include "gpuStdafx.h"\r
\r
#include "gpuDraw.h"\r
#include "gpuTexture.h"\r
#include "gpuPlugin.h"\r
#include "gpuPrim.h"\r
-#endif\r
+\r
#define CLUTCHK 0x00060000\r
#define CLUTSHIFT 17\r
\r
int iTexGarbageCollection=1;\r
unsigned long dwTexPageComp=0;\r
int iVRamSize=0;\r
-#ifdef _WINDOWS\r
-int iClampType=GL_CLAMP;\r
-#else\r
int iClampType=GL_CLAMP_TO_EDGE;\r
-#endif\r
int iFilter = GL_LINEAR;\r
void (*LoadSubTexFn) (int,int,short,short);\r
unsigned long (*PalTexturedColourFn) (unsigned long);\r
// texture cache implementation\r
////////////////////////////////////////////////////////////////////////\r
\r
-#ifdef _WINDOWS\r
-#pragma pack(1)\r
-#endif\r
-\r
// "texture window" cache entry\r
\r
typedef struct textureWndCacheEntryTag\r
unsigned char Opaque;\r
} textureSubCacheEntryS;\r
\r
-#ifdef _WINDOWS\r
-#pragma pack()\r
-#endif\r
\r
//---------------------------------------------\r
\r