diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-28 03:02:46 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-05-28 03:02:46 +0200 |
commit | 6665557ff76cf8a04c025da90cad49dbe02d808d (patch) | |
tree | 5c227ca57729bdd1b778f98d0fa0204e75b7a5b7 /src/video_core | |
parent | Core: Fix some out-of-style includes (diff) | |
download | yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar.gz yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar.bz2 yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar.lz yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar.xz yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.tar.zst yuzu-6665557ff76cf8a04c025da90cad49dbe02d808d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 10 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.h | 3 |
2 files changed, 2 insertions, 11 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index e19375466..d90c776f9 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -94,14 +94,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons return matrix; } -/// RendererOpenGL constructor -RendererOpenGL::RendererOpenGL() { - resolution_width = std::max(VideoCore::kScreenTopWidth, VideoCore::kScreenBottomWidth); - resolution_height = VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight; -} - -/// RendererOpenGL destructor -RendererOpenGL::~RendererOpenGL() {} +RendererOpenGL::RendererOpenGL() = default; +RendererOpenGL::~RendererOpenGL() = default; /// Swap buffers (render frame) void RendererOpenGL::SwapBuffers() { diff --git a/src/video_core/renderer_opengl/renderer_opengl.h b/src/video_core/renderer_opengl/renderer_opengl.h index 87c556cff..0b4f69e8f 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.h +++ b/src/video_core/renderer_opengl/renderer_opengl.h @@ -68,9 +68,6 @@ private: EmuWindow* render_window; ///< Handle to render window - int resolution_width; ///< Current resolution width - int resolution_height; ///< Current resolution height - OpenGLState state; // OpenGL object IDs |