Dawoodoz / DFPSR

Fast realtime softare rendering library for C++14 using SSE/AVX/NEON. 2D, 3D and isometric rendering with minimal system dependencies.
https://dawoodoz.com/dfpsr.html
78 stars 6 forks source link

Custom error handling #85

Closed Dawoodoz closed 1 year ago

Dawoodoz commented 1 year ago

All printing to the terminal can now be redirected to log files or be printed directly to the graphical window.

Errors must at least throw an exception, because errors are used when the following code would cause severe damage or a flood of more error messages if not aborted.

Tested it in the GUI example program, but more testing is needed.