Switched texture stretch filter to linear instead of triangle for faster loading (I can't see the difference)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user