Henri Verbeet : wined3d: Remove the width and height fields from IWineD3DTextureImpl.

Alexandre Julliard julliard at winehq.org
Fri Mar 13 09:13:53 CDT 2009


Module: wine
Branch: master
Commit: fbfc7c974294388c190f426b8783619e10531ced
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fbfc7c974294388c190f426b8783619e10531ced

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Mar 13 10:44:17 2009 +0100

wined3d: Remove the width and height fields from IWineD3DTextureImpl.

---

 dlls/wined3d/device.c          |    2 --
 dlls/wined3d/wined3d_private.h |    3 ---
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 26759cb..54b371a 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -994,8 +994,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateTexture(IWineD3DDevice *iface,
     *ppTexture = (IWineD3DTexture *)object;
 
     basetexture_init(&object->baseTexture, Levels, Usage);
-    object->width  = Width;
-    object->height = Height;
 
     if (object->resource.format_desc->Flags & WINED3DFMT_FLAG_FILTERING)
     {
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 68629c6..b2cc872 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1385,9 +1385,6 @@ typedef struct IWineD3DTextureImpl
 
     /* IWineD3DTexture */
     IWineD3DSurface          *surfaces[MAX_LEVELS];
-    
-    UINT                      width;
-    UINT                      height;
     UINT                      target;
     BOOL                      cond_np2;
 




More information about the wine-cvs mailing list