Removing dependencies on MainWindow.
This commit is contained in:
@@ -53,7 +53,7 @@ GL4GraphicsSystem::GL4GraphicsSystem(Emulator* emulator)
|
||||
GL4GraphicsSystem::~GL4GraphicsSystem() = default;
|
||||
|
||||
X_STATUS GL4GraphicsSystem::Setup(cpu::Processor* processor,
|
||||
ui::PlatformLoop* target_loop,
|
||||
ui::Loop* target_loop,
|
||||
ui::PlatformWindow* target_window) {
|
||||
auto result = GraphicsSystem::Setup(processor, target_loop, target_window);
|
||||
if (result) {
|
||||
|
||||
@@ -29,7 +29,7 @@ class GL4GraphicsSystem : public GraphicsSystem {
|
||||
|
||||
static std::unique_ptr<GraphicsSystem> Create(Emulator* emulator);
|
||||
|
||||
X_STATUS Setup(cpu::Processor* processor, ui::PlatformLoop* target_loop,
|
||||
X_STATUS Setup(cpu::Processor* processor, ui::Loop* target_loop,
|
||||
ui::PlatformWindow* target_window) override;
|
||||
void Shutdown() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user