Alexandre Julliard : wined3d: Fix compiler warning.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 30 08:55:54 CDT 2007
Module: wine
Branch: master
Commit: af4b9bb85c62c05d38fdab9042c8d8ce49b99a40
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af4b9bb85c62c05d38fdab9042c8d8ce49b99a40
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jul 30 14:14:01 2007 +0200
wined3d: Fix compiler warning.
---
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 c3e63d9..75a2d26 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -3440,8 +3440,8 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_PrivateSetup(IWineD3DSurface *iface) {
IWineD3DSurfaceImpl *This = (IWineD3DSurfaceImpl *) iface;
unsigned int pow2Width, pow2Height;
const GlPixelFormatDesc *glDesc;
- const StaticPixelFormatDesc *tableEntry = getFormatDescEntry(This->resource.format, &GLINFO_LOCATION, &glDesc);
+ getFormatDescEntry(This->resource.format, &GLINFO_LOCATION, &glDesc);
/* Setup some glformat defaults */
This->glDescription.glFormat = glDesc->glFormat;
This->glDescription.glFormatInternal = glDesc->glInternal;
More information about the wine-cvs
mailing list