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
b6c7b825
Commit
b6c7b825
authored
Jun 22, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only store a different screen format if it's explicitly changed through wined3d.
parent
c2c0743c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
device.c
dlls/wined3d/device.c
+0
-11
No files found.
dlls/wined3d/device.c
View file @
b6c7b825
...
...
@@ -5678,7 +5678,6 @@ HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
{
struct
wined3d_adapter
*
adapter
=
&
wined3d
->
adapters
[
adapter_idx
];
const
struct
fragment_pipeline
*
fragment_pipeline
;
struct
wined3d_display_mode
mode
;
struct
shader_caps
shader_caps
;
struct
fragment_caps
ffp_caps
;
unsigned
int
i
;
...
...
@@ -5693,16 +5692,6 @@ HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
list_init
(
&
device
->
shaders
);
device
->
surface_alignment
=
surface_alignment
;
/* Get the initial screen setup for ddraw. */
hr
=
wined3d_get_adapter_display_mode
(
wined3d
,
adapter_idx
,
&
mode
);
if
(
FAILED
(
hr
))
{
ERR
(
"Failed to get the adapter's display mode, hr %#x.
\n
"
,
hr
);
wined3d_decref
(
device
->
wined3d
);
return
hr
;
}
adapter
->
screen_format
=
mode
.
format_id
;
/* Save the creation parameters. */
device
->
create_parms
.
adapter_idx
=
adapter_idx
;
device
->
create_parms
.
device_type
=
device_type
;
...
...
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