Forums
Start without debugging error chp 4 - Printable Version

+- Forums (http://www.scratchpadgames.net/forums)
+-- Forum: Main Forums (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=1)
+--- Forum: Help my code won't work?? (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=22)
+--- Thread: Start without debugging error chp 4 (/showthread.php?tid=410)



Start without debugging error chp 4 - bergj - 04-11-2019

When I start the project (your code from the code download page) without debugging it says "failed to load" and glGetError 0x501. When I start with debugging it runs fine and loads the images. Why is this? Going forward, am I supposed to always run with debugging?


RE: Start without debugging error chp 4 - Brian Beuken - 04-11-2019

Hi Bergj
Welcome.

yes we are always going to be running in debug mode, as all the projects are learning projects. You can do optimisations and release builds yourself when you are a bit more confident.

None of the projects on the download pages have release builds, so if you try to run them as anything other than debug, the results will be unpredictable.