summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 03:02:46 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 03:02:46 +0200
commit6665557ff76cf8a04c025da90cad49dbe02d808d (patch)
tree5c227ca57729bdd1b778f98d0fa0204e75b7a5b7 /src/video_core
parentCore: Fix some out-of-style includes (diff)
downloadyuzu-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.cpp10
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.h3
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