Skip to content
Snippets Groups Projects
Commit bc92c807 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Steve Lhomme
Browse files

opengl: renderer: fix error return type on OOM

parent cd4b6803
No related branches found
No related tags found
No related merge requests found
......@@ -812,7 +812,7 @@ vlc_gl_renderer_Open(struct vlc_gl_filter *filter,
if (!renderer)
{
vlc_gl_sampler_Delete(sampler);
return VLC_EGENERIC;
return VLC_ENOMEM;
}
static const struct vlc_gl_filter_ops filter_ops = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment