[nostalgia/core] Add support for drawing NostalgiaGraphics in SDL

This commit is contained in:
2019-10-27 16:24:01 -05:00
parent 79a1a6f896
commit 52c4744242
9 changed files with 181 additions and 22 deletions
+3 -1
View File
@@ -12,6 +12,8 @@
namespace nostalgia::core {
void draw();
ox::Error run() {
for (auto running = true; running;) {
SDL_Event event;
@@ -28,7 +30,7 @@ ox::Error run() {
}
}
}
SDL_Delay(1);
draw();
}
return OxError(0);
}