X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=r_textures.h;h=7a7cc460b1734bb44f69a5a3ff0dc9904e5b7702;hb=fcb34623c43f76179a495f03672b7fe9543e23ea;hp=11dc7ad37601efff73a704b8303498fd867c63cf;hpb=35a210359bf175b1798c62e196116a19b7181006;p=xonotic%2Fdarkplaces.git diff --git a/r_textures.h b/r_textures.h index 11dc7ad3..7a7cc460 100644 --- a/r_textures.h +++ b/r_textures.h @@ -33,7 +33,7 @@ // indicates the texture will be used as a render target (D3D hint) #define TEXF_RENDERTARGET 0x0010000 // used for checking if textures mismatch -#define TEXF_IMPORTANTBITS (TEXF_ALPHA | TEXF_MIPMAP | TEXF_RGBMULTIPLYBYALPHA | TEXF_CLAMP | TEXF_FORCENEAREST | TEXF_FORCELINEAR | TEXF_PICMIP | TEXF_COMPRESS | TEXF_COMPARE | TEXF_LOWPRECISION | TEXF_RENDERTARGET) +#define TEXF_IMPORTANTBITS (TEXF_ALPHA | TEXF_MIPMAP | TEXF_RGBMULTIPLYBYALPHA | TEXF_CLAMP | TEXF_FORCENEAREST | TEXF_FORCELINEAR | TEXF_PICMIP | TEXF_COMPARE | TEXF_LOWPRECISION | TEXF_RENDERTARGET) // set as a flag to force the texture to be reloaded #define TEXF_FORCE_RELOAD 0x80000000 @@ -100,16 +100,6 @@ typedef enum textype_e } textype_t; -/* -#ifdef WIN32 -#define SUPPORTD3D -#define SUPPORTDIRECTX -#ifdef SUPPORTD3D -#include -#endif -#endif -*/ - // contents of this structure are mostly private to gl_textures.c typedef struct rtexture_s { @@ -119,25 +109,6 @@ typedef struct rtexture_s qboolean dirty; // indicates that R_RealGetTexture should be called qboolean glisdepthstencil; // indicates that FBO attachment has to be GL_DEPTH_STENCIL_ATTACHMENT int gltexturetypeenum; // used by R_Mesh_TexBind - // d3d stuff the backend needs - void *d3dtexture; - void *d3dsurface; -#ifdef SUPPORTD3D - qboolean d3disrendertargetsurface; - qboolean d3disdepthstencilsurface; - int d3dformat; - int d3dusage; - int d3dpool; - int d3daddressu; - int d3daddressv; - int d3daddressw; - int d3dmagfilter; - int d3dminfilter; - int d3dmipfilter; - int d3dmaxmiplevelfilter; - int d3dmipmaplodbias; - int d3dmaxmiplevel; -#endif } rtexture_t;