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
e30a0574
Commit
e30a0574
authored
Apr 19, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't bother unsetting texture resources in IWineD3DDeviceImpl_Uninit3D().
Releasing the stateblock already takes care of this.
parent
46517461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
device.c
dlls/wined3d/device.c
+0
-8
No files found.
dlls/wined3d/device.c
View file @
e30a0574
...
...
@@ -2136,7 +2136,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Uninit3D(IWineD3DDevice *iface)
const
struct
wined3d_gl_info
*
gl_info
;
struct
IWineD3DSurfaceImpl
*
surface
;
struct
wined3d_context
*
context
;
int
sampler
;
UINT
i
;
TRACE
(
"(%p)
\n
"
,
This
);
...
...
@@ -2174,13 +2173,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Uninit3D(IWineD3DDevice *iface)
This
->
cursorTexture
=
0
;
}
for
(
sampler
=
0
;
sampler
<
MAX_FRAGMENT_SAMPLERS
;
++
sampler
)
{
IWineD3DDevice_SetTexture
(
iface
,
sampler
,
NULL
);
}
for
(
sampler
=
0
;
sampler
<
MAX_VERTEX_SAMPLERS
;
++
sampler
)
{
IWineD3DDevice_SetTexture
(
iface
,
WINED3DVERTEXTEXTURESAMPLER0
+
sampler
,
NULL
);
}
/* Destroy the depth blt resources, they will be invalid after the reset. Also free shader
* private data, it might contain opengl pointers
*/
...
...
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