Skip to content
Snippets Groups Projects
Commit 6665557f authored by Yuri Kunde Schlesner's avatar Yuri Kunde Schlesner
Browse files

OpenGL: Remove unused RendererOpenGL fields

parent ae095cfb
No related branches found
No related tags found
No related merge requests found
...@@ -94,14 +94,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons ...@@ -94,14 +94,8 @@ static std::array<GLfloat, 3 * 2> MakeOrthographicMatrix(const float width, cons
return matrix; return matrix;
} }
/// RendererOpenGL constructor RendererOpenGL::RendererOpenGL() = default;
RendererOpenGL::RendererOpenGL() { RendererOpenGL::~RendererOpenGL() = default;
resolution_width = std::max(VideoCore::kScreenTopWidth, VideoCore::kScreenBottomWidth);
resolution_height = VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight;
}
/// RendererOpenGL destructor
RendererOpenGL::~RendererOpenGL() {}
/// Swap buffers (render frame) /// Swap buffers (render frame)
void RendererOpenGL::SwapBuffers() { void RendererOpenGL::SwapBuffers() {
......
...@@ -68,9 +68,6 @@ private: ...@@ -68,9 +68,6 @@ private:
EmuWindow* render_window; ///< Handle to render window EmuWindow* render_window; ///< Handle to render window
int resolution_width; ///< Current resolution width
int resolution_height; ///< Current resolution height
OpenGLState state; OpenGLState state;
// OpenGL object IDs // OpenGL object IDs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment