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
87a2cc13
Commit
87a2cc13
authored
Mar 12, 2000
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented stretched blts for depth 24 (unoptimized).
parent
0966a6d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
ddraw.c
graphics/ddraw.c
+14
-0
No files found.
graphics/ddraw.c
View file @
87a2cc13
...
@@ -1279,6 +1279,20 @@ static HRESULT WINAPI IDirectDrawSurface4Impl_Blt(
...
@@ -1279,6 +1279,20 @@ static HRESULT WINAPI IDirectDrawSurface4Impl_Blt(
case
1
:
STRETCH_ROW
(
BYTE
)
case
1
:
STRETCH_ROW
(
BYTE
)
case
2
:
STRETCH_ROW
(
WORD
)
case
2
:
STRETCH_ROW
(
WORD
)
case
4
:
STRETCH_ROW
(
DWORD
)
case
4
:
STRETCH_ROW
(
DWORD
)
case
3
:
{
LPBYTE
s
,
d
;
for
(
x
=
sx
=
0
;
x
<
dstwidth
;
x
++
,
sx
+=
xinc
)
{
DWORD
pixel
;
s
=
sbuf
+
3
*
(
sx
>>
16
);
d
=
dbuf
+
3
*
x
;
pixel
=
(
s
[
0
]
<<
16
)
|
(
s
[
1
]
<<
8
)
|
s
[
2
];
d
[
0
]
=
(
pixel
>>
16
)
&
0xff
;
d
[
1
]
=
(
pixel
>>
8
)
&
0xff
;
d
[
2
]
=
(
pixel
)
&
0xff
;
}
break
;
}
default:
default:
FIXME
(
"Stretched blit not implemented for bpp %d!
\n
"
,
bpp
*
8
);
FIXME
(
"Stretched blit not implemented for bpp %d!
\n
"
,
bpp
*
8
);
ret
=
DDERR_UNSUPPORTED
;
ret
=
DDERR_UNSUPPORTED
;
...
...
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