mirror of https://code.videolan.org/videolan/vlc
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:
parent
6d9b2a0929
commit
790d36399e
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue