Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2438968c
Commit
2438968c
authored
Dec 15, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass an IWineD3DBaseTextureImpl pointer to basetexture_cleanup().
parent
47fcc00c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
basetexture.c
dlls/wined3d/basetexture.c
+4
-4
cubetexture.c
dlls/wined3d/cubetexture.c
+1
-1
texture.c
dlls/wined3d/texture.c
+1
-1
volumetexture.c
dlls/wined3d/volumetexture.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/basetexture.c
View file @
2438968c
...
...
@@ -74,11 +74,11 @@ HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, UINT layer_count, UIN
return
WINED3D_OK
;
}
void
basetexture_cleanup
(
IWineD3DBaseTexture
*
ifac
e
)
void
basetexture_cleanup
(
IWineD3DBaseTexture
Impl
*
textur
e
)
{
basetexture_unload
(
(
IWineD3DBaseTextureImpl
*
)
ifac
e
);
HeapFree
(
GetProcessHeap
(),
0
,
((
IWineD3DBaseTextureImpl
*
)
iface
)
->
baseTexture
.
sub_resources
);
resource_cleanup
((
IWineD3DResource
*
)
ifac
e
);
basetexture_unload
(
textur
e
);
HeapFree
(
GetProcessHeap
(),
0
,
texture
->
baseTexture
.
sub_resources
);
resource_cleanup
((
IWineD3DResource
*
)
textur
e
);
}
IWineD3DResourceImpl
*
basetexture_get_sub_resource
(
IWineD3DBaseTextureImpl
*
texture
,
UINT
sub_resource_idx
)
...
...
dlls/wined3d/cubetexture.c
View file @
2438968c
...
...
@@ -132,7 +132,7 @@ static void cubetexture_cleanup(IWineD3DCubeTextureImpl *This)
IWineD3DSurface_Release
((
IWineD3DSurface
*
)
surface
);
}
}
basetexture_cleanup
((
IWineD3DBaseTexture
*
)
This
);
basetexture_cleanup
((
IWineD3DBaseTexture
Impl
*
)
This
);
}
/* *******************************************
...
...
dlls/wined3d/texture.c
View file @
2438968c
...
...
@@ -126,7 +126,7 @@ static void texture_cleanup(IWineD3DTextureImpl *This)
}
TRACE
(
"(%p) : Cleaning up base texture
\n
"
,
This
);
basetexture_cleanup
((
IWineD3DBaseTexture
*
)
This
);
basetexture_cleanup
((
IWineD3DBaseTexture
Impl
*
)
This
);
}
/* *******************************************
...
...
dlls/wined3d/volumetexture.c
View file @
2438968c
...
...
@@ -95,7 +95,7 @@ static void volumetexture_cleanup(IWineD3DVolumeTextureImpl *This)
IWineD3DVolume_Release
((
IWineD3DVolume
*
)
volume
);
}
}
basetexture_cleanup
((
IWineD3DBaseTexture
*
)
This
);
basetexture_cleanup
((
IWineD3DBaseTexture
Impl
*
)
This
);
}
/* *******************************************
...
...
dlls/wined3d/wined3d_private.h
View file @
2438968c
...
...
@@ -1913,7 +1913,7 @@ void basetexture_apply_state_changes(IWineD3DBaseTexture *iface,
const
DWORD
samplerStates
[
WINED3D_HIGHEST_SAMPLER_STATE
+
1
],
const
struct
wined3d_gl_info
*
gl_info
)
DECLSPEC_HIDDEN
;
HRESULT
basetexture_bind
(
IWineD3DBaseTexture
*
iface
,
BOOL
srgb
,
BOOL
*
set_surface_desc
)
DECLSPEC_HIDDEN
;
void
basetexture_cleanup
(
IWineD3DBaseTexture
*
ifac
e
)
DECLSPEC_HIDDEN
;
void
basetexture_cleanup
(
IWineD3DBaseTexture
Impl
*
textur
e
)
DECLSPEC_HIDDEN
;
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
WINED3DTEXTUREFILTERTYPE
basetexture_get_autogen_filter_type
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_level_count
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment