Commit a2d03a83 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

OpenGL: simplify pool creation

parent 39643619
......@@ -772,11 +772,7 @@ picture_pool_t *vout_display_opengl_GetPool(vout_display_opengl_t *vgl, unsigned
return NULL;
/* Wrap the pictures into a pool */
picture_pool_configuration_t cfg;
memset(&cfg, 0, sizeof(cfg));
cfg.picture_count = count;
cfg.picture = picture;
vgl->pool = picture_pool_NewExtended(&cfg);
vgl->pool = picture_pool_New(count, picture);
if (!vgl->pool)
goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment