Update example app to compile again
This commit is contained in:
parent
99c033ea35
commit
4a46786db0
3 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "app.hpp"
|
||||
|
||||
class ExampleApp : public app {
|
||||
class ExampleApp : public prism::app {
|
||||
public:
|
||||
|
||||
};
|
|
@ -1,5 +1,5 @@
|
|||
#include "example.hpp"
|
||||
|
||||
void app_main(Engine* engine) {
|
||||
void app_main(prism::engine* engine) {
|
||||
|
||||
}
|
Reference in a new issue