andy-thomason / Vookoo

A set of utilities for taking the pain out of Vulkan in header only modern C++
MIT License
521 stars 52 forks source link

Checking for not-good will also catch an absent file. #43

Closed pkeir closed 2 years ago

pkeir commented 2 years ago

ifstream::bad will still return false when a file is missing. (It took me a few minutes to notice that, while I was working on something.) I thought a check using ifstream::good might be helpful.