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
2459d79b
Commit
2459d79b
authored
Aug 18, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Disable WINED3DFMT_S1_UINT_D15_UNORM and WINED3DFMT_S4X4_UINT_D24_UNORM.
parent
8e7ff783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
directx.c
dlls/wined3d/directx.c
+18
-2
No files found.
dlls/wined3d/directx.c
View file @
2459d79b
...
...
@@ -3242,6 +3242,18 @@ static BOOL CheckDepthStencilCapability(const struct wined3d_adapter *adapter,
/* Only allow depth/stencil formats */
if
(
!
(
ds_format
->
depth_size
||
ds_format
->
stencil_size
))
return
FALSE
;
/* Blacklist formats not supported on Windows */
switch
(
ds_format
->
id
)
{
case
WINED3DFMT_S1_UINT_D15_UNORM
:
/* Breaks the shadowvol2 dx7 sdk sample */
case
WINED3DFMT_S4X4_UINT_D24_UNORM
:
TRACE_
(
d3d_caps
)(
"[FAILED] - not supported on windows
\n
"
);
return
FALSE
;
default:
break
;
}
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
{
/* With FBOs WGL limitations do not apply, but the format needs to be FBO attachable */
...
...
@@ -3425,9 +3437,7 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
*/
case
WINED3DFMT_D16_LOCKABLE
:
case
WINED3DFMT_D16_UNORM
:
case
WINED3DFMT_S1_UINT_D15_UNORM
:
case
WINED3DFMT_X8D24_UNORM
:
case
WINED3DFMT_S4X4_UINT_D24_UNORM
:
case
WINED3DFMT_D24_UNORM_S8_UINT
:
case
WINED3DFMT_S8_UINT_D24_FLOAT
:
case
WINED3DFMT_D32_UNORM
:
...
...
@@ -3440,6 +3450,12 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
return
TRUE
;
return
FALSE
;
/* Not supported on Windows */
case
WINED3DFMT_S1_UINT_D15_UNORM
:
case
WINED3DFMT_S4X4_UINT_D24_UNORM
:
TRACE_
(
d3d_caps
)(
"[FAILED] - not supported on windows
\n
"
);
return
FALSE
;
/*****
* Not supported everywhere(depends on GL_ATI_envmap_bumpmap or
* GL_NV_texture_shader). Emulated by shaders
...
...
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