From 1a2cc7dfdfdd330f24de36c573db8ee1178c0144 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 18 Oct 2002 19:10:37 +0000 Subject: [PATCH] Switched texture stretch filter to linear instead of triangle for faster loading (I can't see the difference) --- stepmania/src/RageBitmapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageBitmapTexture.cpp b/stepmania/src/RageBitmapTexture.cpp index c0a07fd3a9..26be4e2d62 100644 --- a/stepmania/src/RageBitmapTexture.cpp +++ b/stepmania/src/RageBitmapTexture.cpp @@ -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