Michael_J Posted May 30, 2015 Share Posted May 30, 2015 This isn't exactly a bug, so I thought it be better to post here. I was wondering if there was a more graceful way to handle when someone tries to run a Le-based program using a card that does not support OpenGL 4.0. Right now, at least for RogSys' testers, they simply get a crash. Is it possible to put up a message similar to what you do when OpenAL can't be found? Just curious--thanks 1 Quote --"There is no spoon" Link to comment Share on other sites More sharing options...
Josh Posted May 30, 2015 Share Posted May 30, 2015 If GraphicsDriver::GetCurrent() returns NULL display an error message. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Michael_J Posted May 30, 2015 Author Share Posted May 30, 2015 Ah, okay. Thought maybe you might want this on the engine side. I'll give this a go--thanks Quote --"There is no spoon" Link to comment Share on other sites More sharing options...
Josh Posted June 2, 2015 Share Posted June 2, 2015 There is a System::Notify command (not official) that will display a message box (on Windows) or just print out the line of text (Linux). You can use this to display an error if the graphics fail to initialize. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Michael_J Posted June 2, 2015 Author Share Posted June 2, 2015 Got ya--thanks for that. Quote --"There is no spoon" Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.