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
82b38139
Commit
82b38139
authored
Jan 30, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Also destroy the logo and cursor textures in wined3d_device_reset() when resetting state.
parent
d041a46c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
device.c
dlls/wined3d/device.c
+12
-0
No files found.
dlls/wined3d/device.c
View file @
82b38139
...
...
@@ -4137,7 +4137,19 @@ HRESULT CDECL wined3d_device_reset(struct wined3d_device *device,
}
if
(
reset_state
)
{
if
(
device
->
logo_texture
)
{
wined3d_texture_decref
(
device
->
logo_texture
);
device
->
logo_texture
=
NULL
;
}
if
(
device
->
cursor_texture
)
{
wined3d_texture_decref
(
device
->
cursor_texture
);
device
->
cursor_texture
=
NULL
;
}
state_unbind_resources
(
&
device
->
state
);
}
if
(
device
->
fb
.
render_targets
)
{
...
...
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