Removed function FilterDown(), which was neither used nor implemented.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@412 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d4db1a6657
commit
9a7b828eba
|
@ -4,13 +4,6 @@
|
||||||
|
|
||||||
namespace D3D
|
namespace D3D
|
||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////////////////
|
|
||||||
//Simple box filter mipmap generator: should in theory be replaced with say a
|
|
||||||
//gaussian or something, but even this makes textures look great, especially
|
|
||||||
//with anisotropic filtering enabled
|
|
||||||
void FilterDown(DWORD *buffer, int w, int h, const int pitch);
|
|
||||||
// __________________________________________________________________________________________________
|
|
||||||
// calls filterdown which will trash _pBuffer as temp storage for mips
|
|
||||||
LPDIRECT3DTEXTURE9 CreateTexture2D(const u8* buffer, const int width, const int height, const int pitch, D3DFORMAT fmt = D3DFMT_A8R8G8B8);
|
LPDIRECT3DTEXTURE9 CreateTexture2D(const u8* buffer, const int width, const int height, const int pitch, D3DFORMAT fmt = D3DFMT_A8R8G8B8);
|
||||||
void ReplaceTexture2D(LPDIRECT3DTEXTURE9 pTexture, const u8* buffer, const int width, const int height,const int pitch, D3DFORMAT fmt);
|
void ReplaceTexture2D(LPDIRECT3DTEXTURE9 pTexture, const u8* buffer, const int width, const int height,const int pitch, D3DFORMAT fmt);
|
||||||
LPDIRECT3DTEXTURE9 CreateRenderTarget(const int width, const int height);
|
LPDIRECT3DTEXTURE9 CreateRenderTarget(const int width, const int height);
|
||||||
|
|
Loading…
Reference in New Issue