Simplifying GPU creation.

Part of #296.
This commit is contained in:
Ben Vanik
2015-06-27 09:11:03 -07:00
parent 3439641101
commit 883126d497
13 changed files with 56 additions and 145 deletions

View File

@@ -27,6 +27,8 @@ class GL4GraphicsSystem : public GraphicsSystem {
GL4GraphicsSystem(Emulator* emulator);
~GL4GraphicsSystem() override;
static std::unique_ptr<GraphicsSystem> Create(Emulator* emulator);
X_STATUS Setup(cpu::Processor* processor, ui::PlatformLoop* target_loop,
ui::PlatformWindow* target_window) override;
void Shutdown() override;