Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
398d9abf
Commit
398d9abf
authored
Aug 24, 2013
by
Gleb Pinigin
Committed by
Felix Paul Kühne
Aug 24, 2013
Browse files
ios2: clean opengl buffers only in active state
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
e6608519
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/ios2.m
View file @
398d9abf
...
...
@@ -339,7 +339,8 @@ static picture_pool_t *PicturePool(vout_display_t *vd, unsigned requested_count)
static
int
OpenglESClean
(
vlc_gl_t
*
gl
)
{
vout_display_sys_t
*
sys
=
(
vout_display_sys_t
*
)
gl
->
sys
;
[
sys
->
glESView
resetBuffers
];
if
(
likely
([
sys
->
glESView
isAppActive
]))
[
sys
->
glESView
resetBuffers
];
return
0
;
}
...
...
Write
Preview
Supports
Markdown
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