mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-02 13:27:52 +00:00
0a93b45b6a
Gets the class out of the global namespace.
16 lines
472 B
C++
16 lines
472 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include <memory>
|
|
#include "video_core/renderer_base.h"
|
|
#include "video_core/renderer_opengl/renderer_opengl.h"
|
|
#include "video_core/video_core.h"
|
|
|
|
namespace VideoCore {
|
|
|
|
std::unique_ptr<RendererBase> CreateRenderer(Core::Frontend::EmuWindow& emu_window) {
|
|
return std::make_unique<RendererOpenGL>(emu_window);
|
|
}
|
|
|
|
} // namespace VideoCore
|