From c5c312eb8f21a31c24b0de43314b9d5531624ad7 Mon Sep 17 00:00:00 2001 From: gibbed Date: Tue, 12 May 2015 06:51:20 -0500 Subject: [PATCH] ColorFormat::k_16_16_FLOAT support, maybe. --- src/xenia/gpu/gl4/command_processor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index deaa2dff3..aa80ac1aa 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -2612,6 +2612,10 @@ bool CommandProcessor::IssueCopy() { read_format = GL_RG16; read_type = GL_UNSIGNED_SHORT; break; + case ColorFormat::k_16_16_FLOAT: + read_format = GL_RG16; + read_type = GL_HALF_FLOAT; + break; case ColorFormat::k_16_16_16_16_FLOAT: read_format = GL_RGBA; read_type = GL_HALF_FLOAT;