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
cef28bb3
Commit
cef28bb3
authored
May 02, 2010
by
Rico Schüller
Committed by
Alexandre Julliard
May 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Change return to break in PixelFormat_WineD3DtoDD().
parent
b581fc5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
dlls/ddraw/utils.c
+2
-2
No files found.
dlls/ddraw/utils.c
View file @
cef28bb3
...
...
@@ -182,7 +182,7 @@ PixelFormat_WineD3DtoDD(DDPIXELFORMAT *DDPixelFormat,
DDPixelFormat
->
u3
.
dwGBitMask
=
0x00F0
;
DDPixelFormat
->
u4
.
dwBBitMask
=
0x000F
;
DDPixelFormat
->
u5
.
dwRGBAlphaBitMask
=
0x0
;
return
;
break
;
/* How are Z buffer bit depth and Stencil buffer bit depth related?
*/
...
...
@@ -236,8 +236,8 @@ PixelFormat_WineD3DtoDD(DDPIXELFORMAT *DDPixelFormat,
DDPixelFormat
->
u3
.
dwZBitMask
=
0x00FFFFFFFF
;
DDPixelFormat
->
u4
.
dwStencilBitMask
=
0x00000000
;
DDPixelFormat
->
u5
.
dwRGBAlphaBitMask
=
0x0
;
break
;
case
WINED3DFMT_S1_UINT_D15_UNORM
:
DDPixelFormat
->
dwFlags
=
DDPF_ZBUFFER
|
DDPF_STENCILBUFFER
;
DDPixelFormat
->
dwFourCC
=
0
;
...
...
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