mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
feat: Add a native error message when glfw window creation fails (#1104)
Draft because I want to test it again tomorrow with all OSes, first --------- Co-authored-by: Nik <werwolv98@gmail.com>
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
|
||||
namespace hex {
|
||||
|
||||
void nativeErrorMessage(const std::string &message) {
|
||||
log::fatal(message);
|
||||
errorMessageMacos(message.c_str());
|
||||
}
|
||||
|
||||
void Window::initNative() {
|
||||
// Add plugin library folders to dll search path
|
||||
for (const auto &path : hex::fs::getDefaultPaths(fs::ImHexPath::Libraries)) {
|
||||
|
||||
Reference in New Issue
Block a user