20c2928c2b
Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
16 lines
456 B
C++
16 lines
456 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(EmuWindow& emu_window) {
|
|
return std::make_unique<RendererOpenGL>(emu_window);
|
|
}
|
|
|
|
} // namespace VideoCore
|