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
f9cdd509
Commit
f9cdd509
authored
Sep 01, 2010
by
Octavian Voicu
Committed by
Alexandre Julliard
Sep 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing ckey, fx, and pal directdraw caps.
parent
38b8805c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
directx.c
dlls/wined3d/directx.c
+6
-1
No files found.
dlls/wined3d/directx.c
View file @
f9cdd509
...
...
@@ -4259,7 +4259,7 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
int
ps_selected_mode
;
struct
shader_caps
shader_caps
;
struct
fragment_caps
fragment_caps
;
DWORD
ckey_caps
,
blit_caps
,
fx_caps
;
DWORD
ckey_caps
,
blit_caps
,
fx_caps
,
pal_caps
;
TRACE_
(
d3d_caps
)(
"(%p)->(Adptr:%d, DevType: %x, pCaps: %p)
\n
"
,
This
,
Adapter
,
DeviceType
,
pCaps
);
...
...
@@ -4786,6 +4786,8 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
WINEDDCAPS_COLORKEY
|
WINEDDCAPS_COLORKEYHWASSIST
|
WINEDDCAPS_ALIGNBOUNDARYSRC
;
pal_caps
=
WINEDDPCAPS_8BIT
|
WINEDDPCAPS_PRIMARYSURFACE
;
/* Fill the ddraw caps structure */
pCaps
->
DirectDrawCaps
.
Caps
=
WINEDDCAPS_GDI
|
...
...
@@ -4796,6 +4798,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
WINEDDCAPS2_PRIMARYGAMMA
|
WINEDDCAPS2_WIDESURFACES
|
WINEDDCAPS2_CANRENDERWINDOWED
;
pCaps
->
DirectDrawCaps
.
CKeyCaps
=
ckey_caps
;
pCaps
->
DirectDrawCaps
.
FXCaps
=
fx_caps
;
pCaps
->
DirectDrawCaps
.
PalCaps
=
pal_caps
;
pCaps
->
DirectDrawCaps
.
SVBCaps
=
blit_caps
;
pCaps
->
DirectDrawCaps
.
SVBCKeyCaps
=
ckey_caps
;
pCaps
->
DirectDrawCaps
.
SVBFXCaps
=
fx_caps
;
...
...
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