Open cyanskies opened 2 years ago
rather than rebinding sf::Err inside functions and then restoring it before return; create a logging stream and bind it to sf::Err at the start of the program. then it'll capture everything properly
Messages in this stream are seperated by std::endl so we can use that to find the end of the message.
rather than rebinding sf::Err inside functions and then restoring it before return; create a logging stream and bind it to sf::Err at the start of the program. then it'll capture everything properly