Archived
1
Fork 0

Update example app to compile again

This commit is contained in:
redstrate 2021-04-20 12:17:49 -04:00
parent 99c033ea35
commit 4a46786db0
3 changed files with 6 additions and 4 deletions

View file

@ -87,10 +87,12 @@ bool engine::is_paused() const {
}
void engine::quit() {
if(!windows.empty())
windows[0]->quit_requested = true;
}
bool engine::is_quitting() const {
if(!windows.empty())
return windows[0]->quit_requested;
}

View file

@ -2,7 +2,7 @@
#include "app.hpp"
class ExampleApp : public app {
class ExampleApp : public prism::app {
public:
};

View file

@ -1,5 +1,5 @@
#include "example.hpp"
void app_main(Engine* engine) {
void app_main(prism::engine* engine) {
}