Stefan Dösinger : wined3d: Properly initialize a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 28 05:09:18 CDT 2006
Module: wine
Branch: master
Commit: 252a0a76d48751a23389a32a0245f09d09643cd2
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=252a0a76d48751a23389a32a0245f09d09643cd2
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sun Aug 27 00:37:56 2006 +0200
wined3d: Properly initialize a variable.
---
dlls/wined3d/surface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 0e0e6dd..fe4fd29 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2026,7 +2026,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_SaveS
char *textureRow;
IWineD3DSwapChain *swapChain = NULL;
int width, height;
- GLuint tmpTexture;
+ GLuint tmpTexture = 0;
DWORD color;
/*FIXME:
Textures my not be stored in ->allocatedgMemory and a GlTexture
More information about the wine-cvs
mailing list