diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-12 02:20:19 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-12 02:20:21 +0200 |
commit | 0a93b45b6a2662c69320e6c69f8024e26909a168 (patch) | |
tree | a16166777acb3d5af7915496827408e1ec7025bd /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | Merge pull request #1010 from bunnei/unk-vert-attrib-shader (diff) | |
download | yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.gz yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.bz2 yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.lz yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.xz yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.tar.zst yuzu-0a93b45b6a2662c69320e6c69f8024e26909a168.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/renderer_opengl.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 899865e3b..95f1aa0fe 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -18,7 +18,6 @@ #include "core/tracer/recorder.h" #include "video_core/renderer_opengl/renderer_opengl.h" #include "video_core/utils.h" -#include "video_core/video_core.h" static const char vertex_shader[] = R"( #version 150 core @@ -92,7 +91,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons return matrix; } -ScopeAcquireGLContext::ScopeAcquireGLContext(EmuWindow& emu_window_) : emu_window{emu_window_} { +ScopeAcquireGLContext::ScopeAcquireGLContext(Core::Frontend::EmuWindow& emu_window_) + : emu_window{emu_window_} { if (Settings::values.use_multi_core) { emu_window.MakeCurrent(); } @@ -103,7 +103,9 @@ ScopeAcquireGLContext::~ScopeAcquireGLContext() { } } -RendererOpenGL::RendererOpenGL(EmuWindow& window) : VideoCore::RendererBase{window} {} +RendererOpenGL::RendererOpenGL(Core::Frontend::EmuWindow& window) + : VideoCore::RendererBase{window} {} + RendererOpenGL::~RendererOpenGL() = default; /// Swap buffers (render frame) |