From 1e5a32fce3716e3abf088deb0f7021e129375f31 Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 16 Aug 2015 17:01:56 -0500 Subject: [PATCH] HWRenderer: Clarified a comment about framebuffer readbacks. --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index d55ceab78..109ef0d89 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -848,7 +848,7 @@ void RasterizerOpenGL::ReloadColorBuffer() { std::unique_ptr temp_fb_color_buffer(new u8[fb_color_texture.width * fb_color_texture.height * bytes_per_pixel]); - // Directly copy pixels. Internal OpenGL color formats are consistent so no conversion is necessary. + // Directly copy pixels. The OpenGL internal formats match the 3DS ones, so no conversion is necessary. switch (bytes_per_pixel) { case 4: VideoCore::CopyTextureAndTile((u32*)temp_fb_color_buffer.get(), (u32*)color_buffer, fb_color_texture.width, fb_color_texture.height); @@ -967,7 +967,7 @@ void RasterizerOpenGL::CommitColorBuffer() { state.texture_units[0].texture_2d = 0; state.Apply(); - // Directly copy pixels. Internal OpenGL color formats are consistent so no conversion is necessary. + // Directly copy pixels. The OpenGL internal formats match the 3DS ones, so no conversion is necessary. switch (bytes_per_pixel) { case 4: VideoCore::CopyTextureAndTile((u32*)color_buffer, (u32*)temp_gl_color_buffer.get(), fb_color_texture.width, fb_color_texture.height);