opengl: sampler: fix typo on if condition

Missing equal sign: = -> ==

It led to the API being changed to VLC_OPENGL_ES2 on GL version with
GLSL < 300.

Regression from 7ffcdfb326.
This commit is contained in:
Alexandre Janniaux 2023-11-14 15:57:44 +01:00 committed by Steve Lhomme
parent 6d9b2a0929
commit 790d36399e
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ GetNames(struct vlc_gl_sampler *sampler, GLenum tex_target,
bool has_texture_func =
(priv->gl->api_type == VLC_OPENGL && priv->glsl_version >= 130) ||
(priv->gl->api_type = VLC_OPENGL_ES2 && priv->glsl_version >= 300);
(priv->gl->api_type == VLC_OPENGL_ES2 && priv->glsl_version >= 300);
switch (tex_target)
{