mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-15 08:15:38 +07:00
first glfw window for osx
This commit is contained in:
@@ -5,3 +5,11 @@
|
||||
******************************************************************************/
|
||||
|
||||
#include "../common.hpp"
|
||||
using namespace e2d;
|
||||
|
||||
int main() {
|
||||
window w{{640, 480}, "Enduro2D", false};
|
||||
while ( !w.should_close() ) {
|
||||
window::poll_events();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user