On Mon Feb 9 17:48:40 2026 +0000, Rémi Bernon wrote:
I don't understand what you mean with glGetStringi. This is using the same order as `parsed_extensions` was filled in at parse time, and parsed_extension is only initialized when `glGetString( GL_EXTENSIONS )` succeeds. When it doesn't succeed, `parsed_extensions` is empty (only has one `GL_EXTENSION_COUNT` element), and `compat_extensions` is also considered empty (and later `GL_EXTENSIONS` returns NULL). Ah, right, it is inverted now, so it has the opposite problem: you are making decisions about enabled extensions based on a deprecated extension string. While the sets are usually the same, they do not have to be. Avoiding deprecated functions seems much cleaner to me anyway.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10019#note_129299