project-aster/triangle/aster.cpp

19 lines
359 B
C++

#include "aster/constants.h"
#include "aster/glfw_context.h"
#include "aster/window.h"
int main(int, char **) {
GlfwContext *glfw = new GlfwContext();
Context *context = new Context("Aster", VERSION);
Window *window = new Window("Aster1", context, { 640, 480 });
while (window->poll()) {
}
delete window;
delete context;
delete glfw;
return 0;
}