mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	OpenGL: Remove unused RendererOpenGL fields
This commit is contained in:
		
							parent
							
								
									ae095cfb71
								
							
						
					
					
						commit
						6665557ff7
					
				
					 2 changed files with 2 additions and 11 deletions
				
			
		|  | @ -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() { | ||||
|  |  | |||
|  | @ -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
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue