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
da649961
Commit
da649961
authored
Oct 31, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the buffer parameter to buffer_is_fully_dirty() const.
parent
b9b22887
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
buffer.c
dlls/wined3d/buffer.c
+3
-5
No files found.
dlls/wined3d/buffer.c
View file @
da649961
...
...
@@ -81,16 +81,14 @@ static BOOL buffer_is_dirty(const struct wined3d_buffer *buffer)
return
!!
buffer
->
modified_areas
;
}
static
inline
BOOL
buffer_is_fully_dirty
(
struct
wined3d_buffer
*
This
)
static
BOOL
buffer_is_fully_dirty
(
const
struct
wined3d_buffer
*
buffer
)
{
unsigned
int
i
;
for
(
i
=
0
;
i
<
This
->
modified_areas
;
i
++
)
for
(
i
=
0
;
i
<
buffer
->
modified_areas
;
++
i
)
{
if
(
!
This
->
maps
[
i
].
offset
&&
This
->
maps
[
i
].
size
==
This
->
resource
.
size
)
{
if
(
!
buffer
->
maps
[
i
].
offset
&&
buffer
->
maps
[
i
].
size
==
buffer
->
resource
.
size
)
return
TRUE
;
}
}
return
FALSE
;
}
...
...
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