mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
gles3: Ensure missing_extensions is always populated
This appears to be the only explanation for `init_secondary_gpu_data_gpu` crashing in `g_strjoinv`, but I don't know the exact conditions causing `glGetString (GL_EXTENSIONS)` to return NULL. https://launchpad.net/bugs/1994011 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2674>
This commit is contained in:
parent
102736c7f5
commit
89b254a74b
@ -127,7 +127,7 @@ meta_gles3_has_extensions (MetaGles3 *gles3,
|
||||
if (!extensions_str)
|
||||
{
|
||||
g_warning ("Failed to get string: %s", get_gl_error_str (glGetError ()));
|
||||
return FALSE;
|
||||
extensions_str = "";
|
||||
}
|
||||
|
||||
va_start (var_args, first_extension);
|
||||
|
Loading…
Reference in New Issue
Block a user