GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

Remove unnecessary null pointer checks #96

Closed elfring closed 5 years ago

elfring commented 6 years ago

An extra null pointer check is not needed in functions like the following.

DominikWitczakAMD commented 6 years ago

Nice observation, thanks. Any chance you could consider contributing a merge request which would remove all the extraneous checks? Thanks!

DominikWitczakAMD commented 5 years ago

Fixed internally.