From f41c500c43df8f280edba18f73daea18d0607b5f Mon Sep 17 00:00:00 2001 From: raven02 Date: Fri, 26 Jun 2015 22:27:59 +0800 Subject: [PATCH] gl4: minor read format fix --- src/xenia/gpu/gl4/command_processor.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index a25fa82a4..f03e45c0d 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -2631,7 +2631,7 @@ bool CommandProcessor::IssueCopy() { read_type = GL_UNSIGNED_SHORT; break; case ColorFormat::k_16_FLOAT: - read_format = GL_R16; + read_format = GL_R16F; read_type = GL_HALF_FLOAT; break; case ColorFormat::k_16_16: @@ -2639,15 +2639,15 @@ bool CommandProcessor::IssueCopy() { read_type = GL_UNSIGNED_SHORT; break; case ColorFormat::k_16_16_FLOAT: - read_format = GL_RG16; + read_format = GL_RG16F; read_type = GL_HALF_FLOAT; break; case ColorFormat::k_16_16_16_16: - read_format = GL_RGBA; + read_format = GL_RGBA16; read_type = GL_UNSIGNED_SHORT; break; case ColorFormat::k_16_16_16_16_FLOAT: - read_format = GL_RGBA; + read_format = GL_RGBA16F; read_type = GL_HALF_FLOAT; break; case ColorFormat::k_32_FLOAT: