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
9729f15a
Commit
9729f15a
authored
May 16, 2019
by
Henri Verbeet
Committed by
Alexandre Julliard
May 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass a wined3d_context_gl structure to context_destroy_fbo().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7b8d104d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
context.c
dlls/wined3d/context.c
+3
-4
No files found.
dlls/wined3d/context.c
View file @
9729f15a
...
...
@@ -99,10 +99,9 @@ static void context_clean_fbo_attachments(const struct wined3d_gl_info *gl_info,
}
/* Context activation is done by the caller. */
static
void
context_destroy_fbo
(
struct
wined3d_context
*
context
,
GLuint
fbo
)
static
void
wined3d_context_gl_destroy_fbo
(
struct
wined3d_context_gl
*
context_gl
,
GLuint
fbo
)
{
struct
wined3d_context_gl
*
context_gl
=
wined3d_context_gl
(
context
);
const
struct
wined3d_gl_info
*
gl_info
=
context
->
gl_info
;
const
struct
wined3d_gl_info
*
gl_info
=
context_gl
->
c
.
gl_info
;
wined3d_context_gl_bind_fbo
(
context_gl
,
GL_FRAMEBUFFER
,
fbo
);
context_clean_fbo_attachments
(
gl_info
,
GL_FRAMEBUFFER
);
...
...
@@ -568,7 +567,7 @@ static void context_destroy_fbo_entry(struct wined3d_context *context, struct fb
if
(
entry
->
id
)
{
TRACE
(
"Destroy FBO %u.
\n
"
,
entry
->
id
);
context_destroy_fbo
(
context
,
entry
->
id
);
wined3d_context_gl_destroy_fbo
(
wined3d_context_gl
(
context
)
,
entry
->
id
);
}
--
context
->
fbo_entry_count
;
list_remove
(
&
entry
->
entry
);
...
...
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