mocha-engine / mocha

Mocha: A work-in-progress 3D game engine
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Use spdlog for shader compilation errors #20

Closed MuffinTastic closed 1 year ago

MuffinTastic commented 1 year ago

Besides just being generally better, this fixes not being able to see shader compilation errors in Visual Studio. With the change to the Windows subsystem, outputting to stdout wasn't helpful anyways - it's not like you can see stdout when you start the game from command prompt.

xezno commented 1 year ago

LGTM. Good catch, too, hadn't even realised that was only going to stdout. Thanks MuffinTastic 🙂