Index

zydeco / 1467546

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
703 Sep 2023 16:015f524c5OpenGL render abstractionsJosh Stockin101G

Blob @ zydeco / src / util / Fault.cpp

text/plain250 bytesdownload raw
1#include <cpptrace/cpptrace.hpp>
2#include "ZydecoCommon.hpp"
3
4
5static Logger LOGGER("FAULT");
6
7
8[[noreturn]] void ZydecoFault(std::string fault_message)
9{
10 LOGGER.Log(Logger::ERROR, fault_message);
11 cpptrace::print_trace();
12 std::abort();
13}
14