mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00

Seems glGetString(GL_RENDERER) in the wild can return NULL, causing issues with strstr(). Handle this more gracefully by using g_return_val_if_fail(), that assumes a NULL renderer means software rendering. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1931>