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
4dd3066e
Commit
4dd3066e
authored
Dec 08, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the unused IWineD3DBaseTexture::GetDirty() method.
parent
07a627b1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
25 deletions
+0
-25
basetexture.c
dlls/wined3d/basetexture.c
+0
-6
cubetexture.c
dlls/wined3d/cubetexture.c
+0
-6
texture.c
dlls/wined3d/texture.c
+0
-5
volumetexture.c
dlls/wined3d/volumetexture.c
+0
-5
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-1
wined3d.idl
include/wine/wined3d.idl
+0
-2
No files found.
dlls/wined3d/basetexture.c
View file @
4dd3066e
...
...
@@ -247,12 +247,6 @@ BOOL basetexture_set_dirty(IWineD3DBaseTexture *iface, BOOL dirty)
return
old
;
}
BOOL
basetexture_get_dirty
(
IWineD3DBaseTexture
*
iface
)
{
IWineD3DBaseTextureImpl
*
This
=
(
IWineD3DBaseTextureImpl
*
)
iface
;
return
This
->
baseTexture
.
texture_rgb
.
dirty
||
This
->
baseTexture
.
texture_srgb
.
dirty
;
}
/* Context activation is done by the caller. */
HRESULT
basetexture_bind
(
IWineD3DBaseTexture
*
iface
,
BOOL
srgb
,
BOOL
*
set_surface_desc
)
{
...
...
dlls/wined3d/cubetexture.c
View file @
4dd3066e
...
...
@@ -275,11 +275,6 @@ static BOOL WINAPI IWineD3DCubeTextureImpl_SetDirty(IWineD3DCubeTexture *iface,
return
basetexture_set_dirty
((
IWineD3DBaseTexture
*
)
iface
,
dirty
);
}
/* Internal function, No d3d mapping */
static
BOOL
WINAPI
IWineD3DCubeTextureImpl_GetDirty
(
IWineD3DCubeTexture
*
iface
)
{
return
basetexture_get_dirty
((
IWineD3DBaseTexture
*
)
iface
);
}
/* Context activation is done by the caller. */
static
HRESULT
WINAPI
IWineD3DCubeTextureImpl_BindTexture
(
IWineD3DCubeTexture
*
iface
,
BOOL
srgb
)
{
IWineD3DCubeTextureImpl
*
This
=
(
IWineD3DCubeTextureImpl
*
)
iface
;
...
...
@@ -440,7 +435,6 @@ static const IWineD3DCubeTextureVtbl IWineD3DCubeTexture_Vtbl =
IWineD3DCubeTextureImpl_GetAutoGenFilterType
,
IWineD3DCubeTextureImpl_GenerateMipSubLevels
,
IWineD3DCubeTextureImpl_SetDirty
,
IWineD3DCubeTextureImpl_GetDirty
,
IWineD3DCubeTextureImpl_BindTexture
,
IWineD3DCubeTextureImpl_IsCondNP2
,
/* IWineD3DCubeTexture */
...
...
dlls/wined3d/texture.c
View file @
4dd3066e
...
...
@@ -266,10 +266,6 @@ static BOOL WINAPI IWineD3DTextureImpl_SetDirty(IWineD3DTexture *iface, BOOL dir
return
basetexture_set_dirty
((
IWineD3DBaseTexture
*
)
iface
,
dirty
);
}
static
BOOL
WINAPI
IWineD3DTextureImpl_GetDirty
(
IWineD3DTexture
*
iface
)
{
return
basetexture_get_dirty
((
IWineD3DBaseTexture
*
)
iface
);
}
/* Context activation is done by the caller. */
static
HRESULT
WINAPI
IWineD3DTextureImpl_BindTexture
(
IWineD3DTexture
*
iface
,
BOOL
srgb
)
{
IWineD3DTextureImpl
*
This
=
(
IWineD3DTextureImpl
*
)
iface
;
...
...
@@ -454,7 +450,6 @@ static const IWineD3DTextureVtbl IWineD3DTexture_Vtbl =
IWineD3DTextureImpl_GetAutoGenFilterType
,
IWineD3DTextureImpl_GenerateMipSubLevels
,
IWineD3DTextureImpl_SetDirty
,
IWineD3DTextureImpl_GetDirty
,
IWineD3DTextureImpl_BindTexture
,
IWineD3DTextureImpl_IsCondNP2
,
/* IWineD3DTexture */
...
...
dlls/wined3d/volumetexture.c
View file @
4dd3066e
...
...
@@ -230,10 +230,6 @@ static BOOL WINAPI IWineD3DVolumeTextureImpl_SetDirty(IWineD3DVolumeTexture *ifa
return
basetexture_set_dirty
((
IWineD3DBaseTexture
*
)
iface
,
dirty
);
}
static
BOOL
WINAPI
IWineD3DVolumeTextureImpl_GetDirty
(
IWineD3DVolumeTexture
*
iface
)
{
return
basetexture_get_dirty
((
IWineD3DBaseTexture
*
)
iface
);
}
/* Context activation is done by the caller. */
static
HRESULT
WINAPI
IWineD3DVolumeTextureImpl_BindTexture
(
IWineD3DVolumeTexture
*
iface
,
BOOL
srgb
)
{
...
...
@@ -370,7 +366,6 @@ static const IWineD3DVolumeTextureVtbl IWineD3DVolumeTexture_Vtbl =
IWineD3DVolumeTextureImpl_GetAutoGenFilterType
,
IWineD3DVolumeTextureImpl_GenerateMipSubLevels
,
IWineD3DVolumeTextureImpl_SetDirty
,
IWineD3DVolumeTextureImpl_GetDirty
,
/* not in d3d */
IWineD3DVolumeTextureImpl_BindTexture
,
IWineD3DVolumeTextureImpl_IsCondNP2
,
...
...
dlls/wined3d/wined3d_private.h
View file @
4dd3066e
...
...
@@ -1915,7 +1915,6 @@ HRESULT basetexture_bind(IWineD3DBaseTexture *iface, BOOL srgb, BOOL *set_surfac
void
basetexture_cleanup
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
void
basetexture_generate_mipmaps
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
WINED3DTEXTUREFILTERTYPE
basetexture_get_autogen_filter_type
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
BOOL
basetexture_get_dirty
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_level_count
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_get_lod
(
IWineD3DBaseTexture
*
iface
)
DECLSPEC_HIDDEN
;
IWineD3DResourceImpl
*
basetexture_get_sub_resource
(
IWineD3DBaseTextureImpl
*
texture
,
...
...
include/wine/wined3d.idl
View file @
4dd3066e
...
...
@@ -2528,8 +2528,6 @@ interface IWineD3DBaseTexture : IWineD3DResource
BOOL
SetDirty
(
BOOL
dirty
)
;
BOOL
GetDirty
(
)
;
HRESULT
BindTexture
(
[
in
]
BOOL
srgb
)
;
...
...
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