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
6793fa71
Commit
6793fa71
authored
Sep 26, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Initialize the default state in device_init().
parent
df64b0fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
device.c
dlls/wined3d/device.c
+1
-2
No files found.
dlls/wined3d/device.c
View file @
6793fa71
...
@@ -896,8 +896,6 @@ HRESULT CDECL wined3d_device_init_3d(struct wined3d_device *device,
...
@@ -896,8 +896,6 @@ HRESULT CDECL wined3d_device_init_3d(struct wined3d_device *device,
goto
err_out
;
goto
err_out
;
}
}
device
->
swapchains
[
0
]
=
swapchain
;
device
->
swapchains
[
0
]
=
swapchain
;
state_init_default
(
&
device
->
state
,
device
);
device_init_swapchain_state
(
device
,
swapchain
);
device_init_swapchain_state
(
device
,
swapchain
);
context
=
context_acquire
(
device
,
swapchain
->
front_buffer
);
context
=
context_acquire
(
device
,
swapchain
->
front_buffer
);
...
@@ -4984,6 +4982,7 @@ HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
...
@@ -4984,6 +4982,7 @@ HRESULT device_init(struct wined3d_device *device, struct wined3d *wined3d,
wined3d_decref
(
device
->
wined3d
);
wined3d_decref
(
device
->
wined3d
);
return
hr
;
return
hr
;
}
}
state_init_default
(
&
device
->
state
,
device
);
device
->
update_state
=
&
device
->
state
;
device
->
update_state
=
&
device
->
state
;
return
WINED3D_OK
;
return
WINED3D_OK
;
...
...
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