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
99283401
Commit
99283401
authored
May 01, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Report only D16, D24S8 and D24X8 depth stencil formats as supported.
parent
6eb7eadf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
directx.c
dlls/wined3d/directx.c
+12
-8
No files found.
dlls/wined3d/directx.c
View file @
99283401
...
...
@@ -1628,21 +1628,25 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
/* Enable when fully supported */
}
if
(
Usage
&
WINED3DUSAGE_DEPTHSTENCIL
)
{
switch
(
CheckFormat
)
{
case
WINED3DFMT_D16_LOCKABLE
:
case
WINED3DFMT_D32
:
case
WINED3DFMT_D15S1
:
/* In theory we could do all formats, just fetch them accordingly should the buffer be locked.
* Windows supports only those 3, and enumerating the other formats confuses applications
*/
case
WINED3DFMT_D24S8
:
case
WINED3DFMT_D24X8
:
case
WINED3DFMT_D24X4S4
:
case
WINED3DFMT_D16
:
case
WINED3DFMT_L16
:
case
WINED3DFMT_D32F_LOCKABLE
:
case
WINED3DFMT_D24FS8
:
TRACE_
(
d3d_caps
)(
"[OK]
\n
"
);
return
WINED3D_OK
;
case
WINED3DFMT_D16_LOCKABLE
:
case
WINED3DFMT_D24FS8
:
case
WINED3DFMT_D32F_LOCKABLE
:
case
WINED3DFMT_D24X4S4
:
case
WINED3DFMT_D15S1
:
case
WINED3DFMT_D32
:
TRACE_
(
d3d_caps
)(
"[FAILED]. Disabled because not enumerated on windows
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
default:
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
...
...
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