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
f1e2c5df
Commit
f1e2c5df
authored
Jan 08, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only flip SFLAG_DIBSECTION once in flip_surface().
We already swap all flags at a later point in flip_surface().
parent
01992d7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
surface.c
dlls/wined3d/surface.c
+1
-8
No files found.
dlls/wined3d/surface.c
View file @
f1e2c5df
...
...
@@ -4740,16 +4740,9 @@ void flip_surface(struct wined3d_surface *front, struct wined3d_surface *back)
/* Flip the DIBsection */
{
HBITMAP
tmp
;
BOOL
hasDib
=
front
->
flags
&
SFLAG_DIBSECTION
;
tmp
=
front
->
dib
.
DIBsection
;
HBITMAP
tmp
=
front
->
dib
.
DIBsection
;
front
->
dib
.
DIBsection
=
back
->
dib
.
DIBsection
;
back
->
dib
.
DIBsection
=
tmp
;
if
(
back
->
flags
&
SFLAG_DIBSECTION
)
front
->
flags
|=
SFLAG_DIBSECTION
;
else
front
->
flags
&=
~
SFLAG_DIBSECTION
;
if
(
hasDib
)
back
->
flags
|=
SFLAG_DIBSECTION
;
else
back
->
flags
&=
~
SFLAG_DIBSECTION
;
}
/* Flip the surface data */
...
...
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