KhronosGroup / EGL-Registry

EGL API and Extension Registry
115 stars 105 forks source link

Add missing const keywords to eglStreamImageConsumerConnectNV #148

Closed kbrenneman closed 2 years ago

kbrenneman commented 2 years ago

The modifiers and attrib_list parameters to eglStreamImageConsumerConnectNV in EGL_NV_stream_consumer_eglimage are supposed to be input parameters, not output, but they're missing the const keyword.

This fixes the extension spec and the XML/header files.

Fixing the definition in eglext.h should be safe to change without breaking anything, since you can always pass a non-const value as a const parameter.