Switched texture stretch filter to linear instead of triangle for faster loading (I can't see the difference)

This commit is contained in:
Chris Danford
2002-10-18 19:10:37 +00:00
parent 15fc589cc6
commit 1a2cc7dfdf
+1 -1
View File
@@ -172,7 +172,7 @@ void RageBitmapTexture::Create(
0, // usage (is a render target?)
fmtTexture, // our preferred texture format
D3DPOOL_MANAGED, // which memory pool
(bStretch ? D3DX_FILTER_BOX : D3DX_FILTER_NONE) | (bDither ? D3DX_FILTER_DITHER : 0), // filter
(bStretch ? D3DX_FILTER_LINEAR : D3DX_FILTER_NONE) | (bDither ? D3DX_FILTER_DITHER : 0), // filter
D3DX_FILTER_BOX | (bDither ? D3DX_FILTER_DITHER : 0), // mip filter
D3DCOLOR_ARGB(255,255,0,255), // pink color key
&ddii, // struct to fill with source image info