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
4bf5d02c
Commit
4bf5d02c
authored
Oct 16, 2003
by
Christian Costa
Committed by
Alexandre Julliard
Oct 16, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for all Z buffer depths that are lower that the current
one.
parent
3657b6d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mesa.c
dlls/ddraw/d3ddevice/mesa.c
+3
-3
No files found.
dlls/ddraw/d3ddevice/mesa.c
View file @
4bf5d02c
...
...
@@ -4010,9 +4010,9 @@ static void fill_caps(void)
TRACE
(
": Z bits = %d
\n
"
,
depth_bits
);
switch
(
depth_bits
)
{
case
16
:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_16
;
break
;
case
24
:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_24
;
break
;
case
32
:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_32
;
break
;
default:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_16
|
DDBD_24
|
DDBD_32
;
break
;
case
24
:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_
16
|
DDBD_
24
;
break
;
case
32
:
default:
opengl_device_caps
.
dwDeviceZBufferBitDepth
=
DDBD_16
|
DDBD_24
|
DDBD_32
;
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