Tiny cleanup

This commit is contained in:
Ylva Selling
2023-01-20 11:45:44 -05:00
parent 05970745d2
commit 374af5669d
@@ -398,7 +398,6 @@ void VideoTileProvider::initializeMpv() {
mpv_opengl_init_params gl_init_params{ getOpenGLProcAddress, nullptr };
int adv{ 1 }; // we will use the update callback
int blockTarget{ 0 }; // we will use the update callback
mpv_render_param params[]{
{MPV_RENDER_PARAM_API_TYPE, const_cast<char*>(MPV_RENDER_API_TYPE_OPENGL)},
@@ -408,7 +407,6 @@ void VideoTileProvider::initializeMpv() {
{MPV_RENDER_PARAM_INVALID, nullptr},
};
// This makes mpv use the currently set GL context. It will use the callback
// (passed via params) to resolve GL builtin functions, as well as extensions.
if (mpv_render_context_create(&_mpvRenderContext, _mpvHandle, params) < 0)