I noticed that Yabause was crashing when attempting to create an OpenGL window on my Mac. It looks like glGetString(GL_EXTENSIONS) is returning a null pointer - I'm not sure why, but there's probably another bug at play. This doesn't fix that bug, but it at least means that Yabause pops up a "Cannot initialize Video" window instead of crashing.
I've also added a commit which suppresses the build warning about building multiple OpenGL headers on OS X.
I noticed that Yabause was crashing when attempting to create an OpenGL window on my Mac. It looks like
glGetString(GL_EXTENSIONS)
is returning a null pointer - I'm not sure why, but there's probably another bug at play. This doesn't fix that bug, but it at least means that Yabause pops up a "Cannot initialize Video" window instead of crashing.I've also added a commit which suppresses the build warning about building multiple OpenGL headers on OS X.