Skip to content

Commit

Permalink
Only call surface creation functions on supported drivers
Browse files Browse the repository at this point in the history
Make sure that the surface extension is supported by a driver and
enabled before calling down on each surface creation function. This
fixes crashes where a driver on the system doesn't support a surface
extension that the application is using but still exposes the function
pointer.
  • Loading branch information
charles-lunarg committed Oct 23, 2024
1 parent 57f66ce commit 0a8fa90
Showing 1 changed file with 97 additions and 95 deletions.
Loading

0 comments on commit 0a8fa90

Please sign in to comment.