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
59689262
Commit
59689262
authored
May 12, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
May 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add missing GL locking to shader_backend_t.shader_free_private() implementations.
parent
b5aee040
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
arb_program_shader.c
dlls/wined3d/arb_program_shader.c
+2
-0
glsl_shader.c
dlls/wined3d/glsl_shader.c
+2
-0
No files found.
dlls/wined3d/arb_program_shader.c
View file @
59689262
...
...
@@ -1838,6 +1838,7 @@ static void shader_arb_free(IWineD3DDevice *iface) {
struct
shader_arb_priv
*
priv
=
This
->
shader_priv
;
int
i
;
ENTER_GL
();
if
(
priv
->
depth_blt_vprogram_id
)
{
GL_EXTCALL
(
glDeleteProgramsARB
(
1
,
&
priv
->
depth_blt_vprogram_id
));
}
...
...
@@ -1846,6 +1847,7 @@ static void shader_arb_free(IWineD3DDevice *iface) {
GL_EXTCALL
(
glDeleteProgramsARB
(
1
,
&
priv
->
depth_blt_fprogram_id
[
i
]));
}
}
LEAVE_GL
();
HeapFree
(
GetProcessHeap
(),
0
,
This
->
shader_priv
);
}
...
...
dlls/wined3d/glsl_shader.c
View file @
59689262
...
...
@@ -4038,6 +4038,7 @@ static void shader_glsl_free(IWineD3DDevice *iface) {
struct
shader_glsl_priv
*
priv
=
This
->
shader_priv
;
int
i
;
ENTER_GL
();
for
(
i
=
0
;
i
<
tex_type_count
;
++
i
)
{
if
(
priv
->
depth_blt_program
[
i
])
...
...
@@ -4045,6 +4046,7 @@ static void shader_glsl_free(IWineD3DDevice *iface) {
GL_EXTCALL
(
glDeleteObjectARB
(
priv
->
depth_blt_program
[
i
]));
}
}
LEAVE_GL
();
hash_table_destroy
(
priv
->
glsl_program_lookup
,
NULL
,
NULL
);
constant_heap_free
(
&
priv
->
pconst_heap
);
...
...
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