Commit fb4e794c authored by Niklas Haas's avatar Niklas Haas Committed by Hugo Beauzée-Luyssen
Browse files

opengl: drop redundant code path

This is redundant with the minimum version requirement being 1.7.

I sure can't wait until the next bump up to 1.29.0. All these ifdefs
keep reminding me of my failure to design a good API on my first try.
parent e4a584e3
......@@ -1153,10 +1153,8 @@ CreateSampler(struct vlc_gl_interop *interop, struct vlc_gl_t *gl,
# endif
},
});
# elif PL_API_VER >= 6
priv->pl_sh = pl_shader_alloc(priv->pl_ctx, NULL, 0);
# else
priv->pl_sh = pl_shader_alloc(priv->pl_ctx, NULL, 0, 0);
priv->pl_sh = pl_shader_alloc(priv->pl_ctx, NULL, 0);
# endif
}
#endif
......
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