wined3d: Make sure update_minfilter and update_magfilter are initialized.

This commit is contained in:
Henri Verbeet 2008-09-22 08:54:58 +02:00 committed by Alexandre Julliard
parent 2e6717ab79
commit 459673da1a
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ static void context_apply_attachment_filter_states(IWineD3DDevice *iface, IWineD
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
const IWineD3DSurfaceImpl *surface_impl = (IWineD3DSurfaceImpl *)surface;
IWineD3DBaseTextureImpl *texture_impl;
BOOL update_minfilter, update_magfilter;
BOOL update_minfilter = FALSE;
BOOL update_magfilter = FALSE;
/* Update base texture states array */
if (SUCCEEDED(IWineD3DSurface_GetContainer(surface, &IID_IWineD3DBaseTexture, (void **)&texture_impl)))