summaryrefslogblamecommitdiffstats
path: root/src/video_core/video_core.cpp
blob: 5085ef96bd1d5e09c5795ddefec3e2103e7a1b20 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                        
                                            
                                          
 
                 
                                     
                                                       
                                  
 

                     
                                              
 

                                                                     

 
                        
// 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::atomic<bool> g_toggle_framelimit_enabled;

std::unique_ptr<RendererBase> CreateRenderer(EmuWindow& emu_window) {
    return std::make_unique<RendererOpenGL>(emu_window);
}

} // namespace VideoCore