KhronosGroup / EGL-Registry

EGL API and Extension Registry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eglCompositorSwapPolicyEXT mismatch between header and description

hallershahaf opened this issue · comments

The APIs signature states that it receives external_win_id as input -

EGLBoolean eglCompositorSwapPolicyEXT(EGLint external_win_id, EGLint policy);

While the API description itself mentions external_ref_id as input -

This function shall be called by the primary context to specify the handling of buffer swaps of the context specified by external_ref_id.

You are referring to extension: https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT_compositor.txt
Lets see if the original authors are available and can respond and/or fix.

It does look like a copy and paste error. In the description for that function.
@shadazar , Are you available to respond?

Yes it's a bug, we'll get the typo addressed in the near future.