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
4dfabb0b
Commit
4dfabb0b
authored
Jun 16, 2005
by
Oliver Stieber
Committed by
Alexandre Julliard
Jun 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename _D3DCAPS9.MaxPixelShaderValue to the correct
_D3DCAPS9.PixelShader1xMaxValue.
parent
4b600b87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
directx.c
dlls/wined3d/directx.c
+2
-2
d3d9caps.h
include/d3d9caps.h
+1
-1
No files found.
dlls/wined3d/directx.c
View file @
4dfabb0b
...
...
@@ -1451,10 +1451,10 @@ HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter, D3DDEVT
if
((
ps_mode
==
PS_HW
)
&&
GL_SUPPORT
(
ARB_FRAGMENT_PROGRAM
)
&&
(
DeviceType
!=
D3DDEVTYPE_REF
))
{
pCaps
->
PixelShaderVersion
=
D3DPS_VERSION
(
1
,
4
);
pCaps
->
MaxPixelShader
Value
=
1
.
0
;
pCaps
->
PixelShader1xMax
Value
=
1
.
0
;
}
else
{
pCaps
->
PixelShaderVersion
=
0
;
pCaps
->
MaxPixelShader
Value
=
0
.
0
;
pCaps
->
PixelShader1xMax
Value
=
0
.
0
;
}
/* ------------------------------------------------
...
...
include/d3d9caps.h
View file @
4dfabb0b
...
...
@@ -364,7 +364,7 @@ typedef struct _D3DCAPS9 {
DWORD
MaxVertexShaderConst
;
DWORD
PixelShaderVersion
;
float
MaxPixelShader
Value
;
float
PixelShader1xMax
Value
;
/* DX 9 */
DWORD
DevCaps2
;
...
...
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