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
7b2274df
Commit
7b2274df
authored
Mar 02, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: The basetexture_set_dirty() return value is never used.
parent
54ff22b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
basetexture.c
dlls/wined3d/basetexture.c
+1
-6
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/basetexture.c
View file @
7b2274df
...
...
@@ -232,15 +232,10 @@ void basetexture_generate_mipmaps(IWineD3DBaseTextureImpl *texture)
FIXME
(
"texture %p stub!
\n
"
,
texture
);
}
BOOL
basetexture_set_dirty
(
IWineD3DBaseTextureImpl
*
texture
,
BOOL
dirty
)
void
basetexture_set_dirty
(
IWineD3DBaseTextureImpl
*
texture
,
BOOL
dirty
)
{
BOOL
old
;
old
=
texture
->
baseTexture
.
texture_rgb
.
dirty
||
texture
->
baseTexture
.
texture_srgb
.
dirty
;
texture
->
baseTexture
.
texture_rgb
.
dirty
=
dirty
;
texture
->
baseTexture
.
texture_srgb
.
dirty
=
dirty
;
return
old
;
}
/* Context activation is done by the caller. */
...
...
dlls/wined3d/wined3d_private.h
View file @
7b2274df
...
...
@@ -1925,7 +1925,7 @@ HRESULT basetexture_init(IWineD3DBaseTextureImpl *texture, const struct wined3d_
const
struct
wined3d_parent_ops
*
parent_ops
,
const
struct
wined3d_resource_ops
*
resource_ops
)
DECLSPEC_HIDDEN
;
HRESULT
basetexture_set_autogen_filter_type
(
IWineD3DBaseTextureImpl
*
texture
,
WINED3DTEXTUREFILTERTYPE
filter_type
)
DECLSPEC_HIDDEN
;
BOOL
basetexture_set_dirty
(
IWineD3DBaseTextureImpl
*
texture
,
BOOL
dirty
)
DECLSPEC_HIDDEN
;
void
basetexture_set_dirty
(
IWineD3DBaseTextureImpl
*
texture
,
BOOL
dirty
)
DECLSPEC_HIDDEN
;
DWORD
basetexture_set_lod
(
IWineD3DBaseTextureImpl
*
texture
,
DWORD
lod
)
DECLSPEC_HIDDEN
;
void
basetexture_unload
(
IWineD3DBaseTextureImpl
*
texture
)
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