logged error handle for window module

This commit is contained in:
2018-09-20 03:27:42 +07:00
parent 3d8ad71a93
commit a8f73821ca
3 changed files with 16 additions and 0 deletions

View File

@@ -8,6 +8,9 @@
using namespace e2d;
int main() {
modules::initialize<debug>();
the<debug>().add_sink<debug_console_sink>();
window w{{640, 480}, "Enduro2D", false};
while ( !w.should_close() ) {
w.swap_buffers();