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
c2fe85e6
Commit
c2fe85e6
authored
Feb 10, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Feb 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Release the vertex declaration during stateblock cleanup.
parent
bac34c35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
stateblock.c
dlls/wined3d/stateblock.c
+4
-0
No files found.
dlls/wined3d/stateblock.c
View file @
c2fe85e6
...
@@ -84,6 +84,10 @@ ULONG WINAPI IWineD3DStateBlockImpl_Release(IWineD3DStateBlock *iface) {
...
@@ -84,6 +84,10 @@ ULONG WINAPI IWineD3DStateBlockImpl_Release(IWineD3DStateBlock *iface) {
IWineD3DVertexShader_Release
(
This
->
vertexShader
);
IWineD3DVertexShader_Release
(
This
->
vertexShader
);
}
}
if
(
NULL
!=
This
->
vertexDecl
)
{
IWineD3DVertexDeclaration_Release
(
This
->
vertexDecl
);
}
/* NOTE: according to MSDN: The applicaion is responsible for making sure the texture references are cleared down */
/* NOTE: according to MSDN: The applicaion is responsible for making sure the texture references are cleared down */
for
(
counter
=
0
;
counter
<
GL_LIMITS
(
textures
);
counter
++
)
{
for
(
counter
=
0
;
counter
<
GL_LIMITS
(
textures
);
counter
++
)
{
if
(
This
->
textures
[
counter
])
{
if
(
This
->
textures
[
counter
])
{
...
...
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