[vlc-commits] [Git][videolan/vlc][master] opengl: sampler: fix typo on if condition
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Nov 15 16:22:17 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
790d3639 by Alexandre Janniaux at 2023-11-15T15:53:19+00:00
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 7ffcdfb326ae7b5709e7e75001899a727d4b8d90.
- - - - -
1 changed file:
- modules/video_output/opengl/sampler.c
Changes:
=====================================
modules/video_output/opengl/sampler.c
=====================================
@@ -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)
{
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/790d36399e495b27c8ca256c3750453209773226
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/790d36399e495b27c8ca256c3750453209773226
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list