wined3d: Remove a redundant check from basetexture_get_autogen_filter_type().
This is already initialized to an appropriate value in basetexture_init(). Also fix the indentation while we're at it.
This commit is contained in:
parent
a86f31658b
commit
62ac872b36
|
@ -176,12 +176,11 @@ HRESULT basetexture_set_autogen_filter_type(IWineD3DBaseTexture *iface, WINED3DT
|
|||
|
||||
WINED3DTEXTUREFILTERTYPE basetexture_get_autogen_filter_type(IWineD3DBaseTexture *iface)
|
||||
{
|
||||
IWineD3DBaseTextureImpl *This = (IWineD3DBaseTextureImpl *)iface;
|
||||
FIXME("(%p) : stub\n", This);
|
||||
if (!(This->resource.usage & WINED3DUSAGE_AUTOGENMIPMAP)) {
|
||||
return WINED3DTEXF_NONE;
|
||||
}
|
||||
return This->baseTexture.filterType;
|
||||
IWineD3DBaseTextureImpl *This = (IWineD3DBaseTextureImpl *)iface;
|
||||
|
||||
FIXME("(%p) : stub\n", This);
|
||||
|
||||
return This->baseTexture.filterType;
|
||||
}
|
||||
|
||||
void basetexture_generate_mipmaps(IWineD3DBaseTexture *iface)
|
||||
|
|
Loading…
Reference in New Issue