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
8658d20b
Commit
8658d20b
authored
Jan 12, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d, d3d9: Caps correction.
parent
8c8d1e4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
directx.c
dlls/d3d9/directx.c
+1
-1
directx.c
dlls/wined3d/directx.c
+2
-2
No files found.
dlls/d3d9/directx.c
View file @
8658d20b
...
@@ -172,7 +172,7 @@ static HRESULT WINAPI IDirect3D9Impl_GetDeviceCaps(LPDIRECT3D9 iface, UINT Adapt
...
@@ -172,7 +172,7 @@ static HRESULT WINAPI IDirect3D9Impl_GetDeviceCaps(LPDIRECT3D9 iface, UINT Adapt
HeapFree
(
GetProcessHeap
(),
0
,
pWineCaps
);
HeapFree
(
GetProcessHeap
(),
0
,
pWineCaps
);
/* Some functionality is implemented in d3d9.dll, not wined3d.dll. Add the needed caps */
/* Some functionality is implemented in d3d9.dll, not wined3d.dll. Add the needed caps */
pCaps
->
Caps2
|=
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES
;
pCaps
->
Dev
Caps2
|=
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES
;
TRACE
(
"(%p) returning %p
\n
"
,
This
,
pCaps
);
TRACE
(
"(%p) returning %p
\n
"
,
This
,
pCaps
);
return
hrc
;
return
hrc
;
}
}
...
...
dlls/wined3d/directx.c
View file @
8658d20b
...
@@ -2243,9 +2243,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
...
@@ -2243,9 +2243,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
The following fields apply to d3d9 only
The following fields apply to d3d9 only
------------------------------------------------ */
------------------------------------------------ */
if
(
This
->
dxVersion
>
8
)
{
if
(
This
->
dxVersion
>
8
)
{
FIXME
(
"Caps support for directx9 is nonexistent at the moment!
\n
"
);
/* d3d9.dll sets D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES here because StretchRects is implemented in d3d9 */
*
pCaps
->
DevCaps2
=
0
;
*
pCaps
->
DevCaps2
=
0
;
/* TODO:
D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES and
VS3.0 needs at least D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET */
/* TODO: VS3.0 needs at least D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET */
*
pCaps
->
MaxNpatchTessellationLevel
=
0
;
*
pCaps
->
MaxNpatchTessellationLevel
=
0
;
*
pCaps
->
MasterAdapterOrdinal
=
0
;
*
pCaps
->
MasterAdapterOrdinal
=
0
;
*
pCaps
->
AdapterOrdinalInGroup
=
0
;
*
pCaps
->
AdapterOrdinalInGroup
=
0
;
...
...
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