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
60833cb3
Commit
60833cb3
authored
Sep 20, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use wine_rb_remove() in delete_glsl_program_entry().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3962fb5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-6
No files found.
dlls/wined3d/glsl_shader.c
View file @
60833cb3
...
...
@@ -5384,12 +5384,7 @@ static struct glsl_shader_prog_link *get_glsl_program_entry(const struct shader_
static
void
delete_glsl_program_entry
(
struct
shader_glsl_priv
*
priv
,
const
struct
wined3d_gl_info
*
gl_info
,
struct
glsl_shader_prog_link
*
entry
)
{
struct
glsl_program_key
key
;
key
.
vs_id
=
entry
->
vs
.
id
;
key
.
gs_id
=
entry
->
gs
.
id
;
key
.
ps_id
=
entry
->
ps
.
id
;
wine_rb_remove_key
(
&
priv
->
program_lookup
,
&
key
);
wine_rb_remove
(
&
priv
->
program_lookup
,
&
entry
->
program_lookup_entry
);
GL_EXTCALL
(
glDeleteProgram
(
entry
->
id
));
if
(
entry
->
vs
.
id
)
...
...
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