summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_base.cpp
blob: 30075b23c10a79bac0e9bce0c778bfc5897efabb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include <atomic>
#include <memory>
#include "video_core/renderer_base.h"
#include "video_core/renderer_opengl/gl_rasterizer.h"
#include "video_core/video_core.h"

void RendererBase::RefreshRasterizerSetting() {
    if (rasterizer == nullptr) {
        rasterizer = std::make_unique<RasterizerOpenGL>();
    }
}