unique_ptr'ing things and removing some XECLEANUP.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#ifndef XENIA_GPU_GPU_H_
|
||||
#define XENIA_GPU_GPU_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <xenia/gpu/graphics_system.h>
|
||||
|
||||
namespace xe {
|
||||
@@ -19,12 +21,12 @@ class Emulator;
|
||||
namespace xe {
|
||||
namespace gpu {
|
||||
|
||||
GraphicsSystem* Create(Emulator* emulator);
|
||||
std::unique_ptr<GraphicsSystem> Create(Emulator* emulator);
|
||||
|
||||
GraphicsSystem* CreateNop(Emulator* emulator);
|
||||
std::unique_ptr<GraphicsSystem> CreateNop(Emulator* emulator);
|
||||
|
||||
#if XE_PLATFORM_WIN32
|
||||
GraphicsSystem* CreateD3D11(Emulator* emulator);
|
||||
std::unique_ptr<GraphicsSystem> CreateD3D11(Emulator* emulator);
|
||||
#endif // WIN32
|
||||
|
||||
} // namespace gpu
|
||||
|
||||
Reference in New Issue
Block a user