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
6621b11a
Commit
6621b11a
authored
May 14, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
May 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't pass the device to atifs_free_ffpshader.
parent
121bd9d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ati_fragment_shader.c
dlls/wined3d/ati_fragment_shader.c
+3
-4
No files found.
dlls/wined3d/ati_fragment_shader.c
View file @
6621b11a
...
...
@@ -1167,10 +1167,9 @@ static void *atifs_alloc(const struct wined3d_shader_backend_ops *shader_backend
}
/* Context activation is done by the caller. */
static
void
atifs_free_ffpshader
(
struct
wine_rb_entry
*
entry
,
void
*
c
ontext
)
static
void
atifs_free_ffpshader
(
struct
wine_rb_entry
*
entry
,
void
*
c
b_ctx
)
{
struct
wined3d_device
*
device
=
context
;
const
struct
wined3d_gl_info
*
gl_info
=
&
device
->
adapter
->
gl_info
;
const
struct
wined3d_gl_info
*
gl_info
=
cb_ctx
;
struct
atifs_ffp_desc
*
entry_ati
=
WINE_RB_ENTRY_VALUE
(
entry
,
struct
atifs_ffp_desc
,
parent
.
entry
);
GL_EXTCALL
(
glDeleteFragmentShaderATI
(
entry_ati
->
shader
));
...
...
@@ -1183,7 +1182,7 @@ static void atifs_free(struct wined3d_device *device)
{
struct
atifs_private_data
*
priv
=
device
->
fragment_priv
;
wine_rb_destroy
(
&
priv
->
fragment_shaders
,
atifs_free_ffpshader
,
device
);
wine_rb_destroy
(
&
priv
->
fragment_shaders
,
atifs_free_ffpshader
,
&
device
->
adapter
->
gl_info
);
HeapFree
(
GetProcessHeap
(),
0
,
priv
);
device
->
fragment_priv
=
NULL
;
...
...
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