mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-16 22:16:53 +07:00
logged error handle for window module
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user