You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a GLFW API abstracting over the lowest common denominator of MessageBox (Win32) and NSAlert (Mac OS X) in order to show some error message to the user before exiting. I do not know what the equivalent of MessageBox would be on Linux.
This would be used when the creation of the OpenGL context fails, or when critical startup resources (fonts, etc.) are missing that prevent the startup error from being shown in OpenGL itself.
The text was updated successfully, but these errors were encountered:
Ok that's a bit sad, since you will always require such a library if you use GLFW in a cross-platform way. Well, unless you write the needed code yourself, ofcourse.
Or maybe I am missing some obvious way to notify users on startup that GLFW window creation has failed...
It would be nice to have a GLFW API abstracting over the lowest common denominator of
MessageBox
(Win32) andNSAlert
(Mac OS X) in order to show some error message to the user before exiting. I do not know what the equivalent ofMessageBox
would be on Linux.This would be used when the creation of the OpenGL context fails, or when critical startup resources (fonts, etc.) are missing that prevent the startup error from being shown in OpenGL itself.
The text was updated successfully, but these errors were encountered: