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
fe425a2f
Commit
fe425a2f
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: Use basetexture_set_dirty() in some more places.
parent
7b2274df
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
10 deletions
+5
-10
basetexture.c
dlls/wined3d/basetexture.c
+1
-2
cubetexture.c
dlls/wined3d/cubetexture.c
+1
-2
texture.c
dlls/wined3d/texture.c
+1
-2
volume.c
dlls/wined3d/volume.c
+1
-2
volumetexture.c
dlls/wined3d/volumetexture.c
+1
-2
No files found.
dlls/wined3d/basetexture.c
View file @
fe425a2f
...
...
@@ -122,8 +122,7 @@ void basetexture_unload(IWineD3DBaseTextureImpl *texture)
if
(
context
)
context_release
(
context
);
texture
->
baseTexture
.
texture_rgb
.
dirty
=
TRUE
;
texture
->
baseTexture
.
texture_srgb
.
dirty
=
TRUE
;
basetexture_set_dirty
(
texture
,
TRUE
);
resource_unload
(
&
texture
->
resource
);
}
...
...
dlls/wined3d/cubetexture.c
View file @
fe425a2f
...
...
@@ -418,8 +418,7 @@ static HRESULT WINAPI IWineD3DCubeTextureImpl_AddDirtyRect(IWineD3DCubeTexture *
return
WINED3DERR_INVALIDCALL
;
}
texture
->
baseTexture
.
texture_rgb
.
dirty
=
TRUE
;
texture
->
baseTexture
.
texture_srgb
.
dirty
=
TRUE
;
basetexture_set_dirty
(
texture
,
TRUE
);
surface_add_dirty_rect
(
surface_from_resource
(
sub_resource
),
dirty_rect
);
return
WINED3D_OK
;
...
...
dlls/wined3d/texture.c
View file @
fe425a2f
...
...
@@ -435,8 +435,7 @@ static HRESULT WINAPI IWineD3DTextureImpl_AddDirtyRect(IWineD3DTexture *iface, c
return
WINED3DERR_INVALIDCALL
;
}
texture
->
baseTexture
.
texture_rgb
.
dirty
=
TRUE
;
texture
->
baseTexture
.
texture_srgb
.
dirty
=
TRUE
;
basetexture_set_dirty
(
texture
,
TRUE
);
surface_add_dirty_rect
(
surface_from_resource
(
sub_resource
),
dirty_rect
);
return
WINED3D_OK
;
...
...
dlls/wined3d/volume.c
View file @
fe425a2f
...
...
@@ -279,8 +279,7 @@ static HRESULT WINAPI IWineD3DVolumeImpl_Map(IWineD3DVolume *iface,
if
(
!
(
flags
&
(
WINED3DLOCK_NO_DIRTY_UPDATE
|
WINED3DLOCK_READONLY
)))
{
volume_add_dirty_box
(
This
,
&
This
->
lockedBox
);
This
->
container
->
baseTexture
.
texture_rgb
.
dirty
=
TRUE
;
This
->
container
->
baseTexture
.
texture_srgb
.
dirty
=
TRUE
;
basetexture_set_dirty
((
IWineD3DBaseTextureImpl
*
)
This
->
container
,
TRUE
);
}
This
->
locked
=
TRUE
;
...
...
dlls/wined3d/volumetexture.c
View file @
fe425a2f
...
...
@@ -349,8 +349,7 @@ static HRESULT WINAPI IWineD3DVolumeTextureImpl_AddDirtyBox(IWineD3DVolumeTextur
return
WINED3DERR_INVALIDCALL
;
}
texture
->
baseTexture
.
texture_rgb
.
dirty
=
TRUE
;
texture
->
baseTexture
.
texture_srgb
.
dirty
=
TRUE
;
basetexture_set_dirty
(
texture
,
TRUE
);
volume_add_dirty_box
(
volume_from_resource
(
sub_resource
),
dirty_box
);
return
WINED3D_OK
;
...
...
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