Henri Verbeet : wined3d: Make sure update_minfilter and update_magfilter are initialized.
Alexandre Julliard
julliard at winehq.org
Mon Sep 22 07:04:49 CDT 2008
Module: wine
Branch: master
Commit: 459673da1a0f32a53bc47b56659c3786825957c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=459673da1a0f32a53bc47b56659c3786825957c0
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Mon Sep 22 08:54:58 2008 +0200
wined3d: Make sure update_minfilter and update_magfilter are initialized.
---
dlls/wined3d/context.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 76d449a..1d50434 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -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)))
More information about the wine-cvs
mailing list