From: Rémi Bernon <rbernon(a)codeweavers.com> --- dlls/opengl32/make_opengl | 6 +++++- dlls/opengl32/unix_thunks.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index 61eafbec33e..aac36f69361 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -1626,7 +1626,11 @@ foreach (sort keys %ext_functions) print OUT "};\n"; # Then the table giving the string <-> function correspondence */ -my $count = keys %ext_functions; +my $count = 0; +foreach (keys %ext_functions) +{ + $count += 1 unless $_ =~ /^egl/; # unix-side only API +} print OUT "\nconst int extension_registry_size = $count;\n"; print OUT "const struct registry_entry extension_registry[$count] =\n"; print OUT "{\n"; diff --git a/dlls/opengl32/unix_thunks.c b/dlls/opengl32/unix_thunks.c index 7d4c00edbe9..c66d82091c1 100644 --- a/dlls/opengl32/unix_thunks.c +++ b/dlls/opengl32/unix_thunks.c @@ -99501,8 +99501,8 @@ struct opengl_funcs null_opengl_funcs = .p_wglSwapIntervalEXT = null_wglSwapIntervalEXT, }; -const int extension_registry_size = 2758; -const struct registry_entry extension_registry[2758] = +const int extension_registry_size = 2754; +const struct registry_entry extension_registry[2754] = { { "glAccumxOES", "GL_OES_fixed_point\0", offsetof(struct opengl_funcs, p_glAccumxOES) }, { "glAcquireKeyedMutexWin32EXT", "GL_EXT_win32_keyed_mutex\0", offsetof(struct opengl_funcs, p_glAcquireKeyedMutexWin32EXT) }, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9676