Module: wine Branch: master Commit: 252a0a76d48751a23389a32a0245f09d09643cd2 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=252a0a76d48751a23389a32a...
Author: Stefan Dösinger stefan@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