diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 26759cb7d77..54b371a9b4a 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 68629c6aa85..b2cc872d808 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;