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
6e6a9176
Commit
6e6a9176
authored
Oct 25, 2011
by
Matteo Bruni
Committed by
Alexandre Julliard
Oct 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Limit VS/PS reported version.
parent
3aff781f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
directx.c
dlls/d3d9/directx.c
+5
-0
No files found.
dlls/d3d9/directx.c
View file @
6e6a9176
...
...
@@ -381,6 +381,11 @@ void filter_caps(D3DCAPS9* pCaps)
pCaps
->
MaxVertexShaderConst
=
min
(
D3D9_MAX_VERTEX_SHADER_CONSTANTF
,
pCaps
->
MaxVertexShaderConst
);
pCaps
->
NumSimultaneousRTs
=
min
(
D3D9_MAX_SIMULTANEOUS_RENDERTARGETS
,
pCaps
->
NumSimultaneousRTs
);
if
(
pCaps
->
PixelShaderVersion
>
D3DPS_VERSION
(
3
,
0
))
pCaps
->
PixelShaderVersion
=
D3DPS_VERSION
(
3
,
0
);
if
(
pCaps
->
VertexShaderVersion
>
D3DVS_VERSION
(
3
,
0
))
pCaps
->
VertexShaderVersion
=
D3DVS_VERSION
(
3
,
0
);
}
static
HRESULT
WINAPI
IDirect3D9Impl_GetDeviceCaps
(
IDirect3D9Ex
*
iface
,
UINT
Adapter
,
...
...
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