Skip to content

Conversation

@Richardk2n
Copy link
Contributor

Passing a nullptr should not succeed.
Follow up to #335

Copy link
Contributor

@bashbaug bashbaug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I think this is the right behavior, and it is closest to the behavior of clGetSupportedImageFormats.

I'm going to merge this even though strictly speaking it is breaking compatibility (since previously valid usage is now an error). I don't think this will cause an issue in practice, and if it does, the prior behavior was probably covering up a bug.

@bashbaug bashbaug merged commit dd5631a into KhronosGroup:main Oct 6, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants