From: Rémi Bernon <rbernon@codeweavers.com> Caffeine on Steam only offers DX11 and DX12 mode, it's unlikely needing this anymore. --- dlls/opengl32/unix_wgl.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dlls/opengl32/unix_wgl.c b/dlls/opengl32/unix_wgl.c index 14bf6a5cc50..b5fe28bdb62 100644 --- a/dlls/opengl32/unix_wgl.c +++ b/dlls/opengl32/unix_wgl.c @@ -921,20 +921,6 @@ PROC wrap_wglGetProcAddress( TEB *teb, LPCSTR name ) if (!is_any_extension_supported( ctx, found->extension )) { - unsigned int i; - static const struct { const char *name, *alt; } alternatives[] = - { - { "glVertexAttribDivisor", "glVertexAttribDivisorARB"}, /* needed by Caffeine */ - }; - - for (i = 0; i < ARRAY_SIZE(alternatives); i++) - { - if (strcmp( name, alternatives[i].name )) continue; - WARN( "Extension %s required for %s not supported, trying %s\n", found->extension, - name, alternatives[i].alt ); - return wrap_wglGetProcAddress( teb, alternatives[i].alt ); - } - WARN( "Extension %s required for %s not supported\n", found->extension, name ); return (void *)-1; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9987