23 Oct
2025
23 Oct
'25
2:17 p.m.
Rémi Bernon (@rbernon) commented about dlls/opengl32/unix_wgl.c:
ctx->minor_version = 3; asprintf( &ctx->wow64_version, "4.3%s", rest ); } + for (i = 0; i < count; i++) + { + if (strcmp( extensions[i], "GL_ARB_buffer_storage" ) && strcmp( extensions[i], "GL_ARB_buffer_storage" )) continue; + FIXME( "Disabling %s extension on wow64\n", extensions[i] ); + if (i != --count) memmove( &extensions[i], &extensions[i + 1], (count - i) * sizeof(extensions[0]) ); + }
Why move this out of the loop? I think it could be kept more like it was and avoid the memmove. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9263#note_119450