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
9efa178e
Commit
9efa178e
authored
Sep 25, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Do not report WINEDDSCAPS_VIDEOMEMORY for WINED3D_NO3D adapters.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a6f68107
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
directx.c
dlls/wined3d/directx.c
+15
-15
No files found.
dlls/wined3d/directx.c
View file @
9efa178e
...
...
@@ -2389,24 +2389,24 @@ HRESULT CDECL wined3d_get_device_caps(const struct wined3d *wined3d, UINT adapte
caps
->
ddraw_caps
.
ssb_color_key_caps
=
ckey_caps
;
caps
->
ddraw_caps
.
ssb_fx_caps
=
fx_caps
;
caps
->
ddraw_caps
.
dds_caps
=
WINEDDSCAPS_ALPHA
|
WINEDDSCAPS_BACKBUFFER
|
WINEDDSCAPS_FLIP
|
WINEDDSCAPS_FRONTBUFFER
|
WINEDDSCAPS_OFFSCREENPLAIN
|
WINEDDSCAPS_PALETTE
|
WINEDDSCAPS_PRIMARYSURFACE
|
WINEDDSCAPS_SYSTEMMEMORY
|
WINEDDSCAPS_VIDEOMEMORY
|
WINEDDSCAPS_VISIBLE
;
caps
->
ddraw_caps
.
dds_caps
=
WINEDDSCAPS_ALPHA
|
WINEDDSCAPS_BACKBUFFER
|
WINEDDSCAPS_FLIP
|
WINEDDSCAPS_FRONTBUFFER
|
WINEDDSCAPS_OFFSCREENPLAIN
|
WINEDDSCAPS_PALETTE
|
WINEDDSCAPS_PRIMARYSURFACE
|
WINEDDSCAPS_SYSTEMMEMORY
|
WINEDDSCAPS_VISIBLE
;
if
(
!
(
wined3d
->
flags
&
WINED3D_NO3D
))
{
caps
->
ddraw_caps
.
dds_caps
|=
WINEDDSCAPS_3DDEVICE
|
WINEDDSCAPS_MIPMAP
|
WINEDDSCAPS_TEXTURE
|
WINEDDSCAPS_ZBUFFER
;
caps
->
ddraw_caps
.
caps
|=
WINEDDCAPS_3D
;
caps
->
ddraw_caps
.
dds_caps
|=
WINEDDSCAPS_3DDEVICE
|
WINEDDSCAPS_MIPMAP
|
WINEDDSCAPS_TEXTURE
|
WINEDDSCAPS_VIDEOMEMORY
|
WINEDDSCAPS_ZBUFFER
;
caps
->
ddraw_caps
.
caps
|=
WINEDDCAPS_3D
;
}
caps
->
shader_double_precision
=
d3d_info
->
shader_double_precision
;
...
...
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