Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
42e1216c
Commit
42e1216c
authored
Jul 06, 2004
by
Marcus Meissner
Committed by
Alexandre Julliard
Jul 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COPY_COLORKEY_FX: Do not use lvalue casts.
parent
1ab0e418
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
dib.c
dlls/ddraw/dsurface/dib.c
+6
-6
No files found.
dlls/ddraw/dsurface/dib.c
View file @
42e1216c
...
...
@@ -749,16 +749,16 @@ DIB_DirectDrawSurface_Blt(LPDIRECTDRAWSURFACE7 iface, LPRECT rdst,
}
#define COPY_COLORKEY_FX(type) { \
type *s
= (type *) sbuf
, *d = (type *) dbuf, *dx, tmp; \
type *s, *d = (type *) dbuf, *dx, tmp; \
for (y = sy = 0; y < dstheight; y++, sy += yinc) { \
(LPBYTE)s = sbase + (sy >> 16) * sdesc.u1.lPitch
; \
(LPBYTE)
dx = d; \
s = (type*)(sbase + (sy >> 16) * sdesc.u1.lPitch)
; \
dx = d; \
for (x = sx = 0; x < dstwidth; x++, sx += xinc) { \
tmp = s[sx >> 16]; \
if (tmp < keylow || tmp > keyhigh) dx[0] = tmp; \
(LPBYTE)dx += dstxinc
; \
} \
(LPBYTE)d += dstyinc
; \
dx = (type*)(((LPBYTE)dx)+dstxinc)
; \
} \
d = (type*)(((LPBYTE)d)+dstyinc)
; \
} \
break; }
...
...
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