NoGL: Update ExampleBrowserInterface and EmptyBrowser, with interface methods added to the OpenGL example browser, but didn't get added to the interface and empty interface. Required to compile the in-process example browser without OpenGL dependency.

This commit is contained in:
Marcel Smit
2020-02-14 11:23:28 +01:00
parent df0910e5a8
commit 04f03d78af
2 changed files with 12 additions and 0 deletions

View File

@@ -28,10 +28,18 @@ public:
m_emptyExample.stepSimulation(deltaTime);
}
virtual void updateGraphics()
{
}
virtual bool requestedExit()
{
return false;
}
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem)
{
}
};
#endif //EMPTY_BROWSER

View File

@@ -14,7 +14,11 @@ public:
virtual void update(float deltaTime) = 0;
virtual void updateGraphics() = 0;
virtual bool requestedExit() = 0;
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem) = 0;
};
#endif //EXAMPLE_BROWSER_GUI_H