Fixes and improvements to the graphics module
This commit is contained in:
parent
860474654a
commit
5e3f5594b8
19 changed files with 161 additions and 55 deletions
|
|
@ -11,7 +11,7 @@ class ExampleApplication : public Application {
|
|||
public:
|
||||
ExampleApplication() = default;
|
||||
|
||||
void processFrame(EventHandler* eventHandler) override {
|
||||
void processFrame(EventHandler* eventHandler, halnf) override {
|
||||
// example
|
||||
}
|
||||
|
||||
|
|
@ -20,10 +20,11 @@ public:
|
|||
|
||||
ImGui::ShowDemoWindow();
|
||||
|
||||
ImGui::Text("Frames processed per second: %f", this->mFramesProcessedPerSecond);
|
||||
ImGui::Text("Frames drawn per second: %f", this->mFramesDrawnPerSecond);
|
||||
drawDebug();
|
||||
}
|
||||
|
||||
bool forceNewFrame() override { return false; }
|
||||
|
||||
virtual ~ExampleApplication() = default;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue