RG16 format.

This commit is contained in:
Ben Vanik
2015-02-12 22:19:00 -08:00
parent ea5175cab5
commit c26329ece6
2 changed files with 5 additions and 1 deletions

View File

@@ -2331,6 +2331,10 @@ bool CommandProcessor::IssueCopy() {
read_format = copy_dest_swap ? GL_BGRA : GL_RGBA;
read_type = GL_UNSIGNED_BYTE;
break;
case ColorFormat::k_16_16:
read_format = GL_RG16;
read_type = GL_UNSIGNED_SHORT;
break;
case ColorFormat::k_16_16_16_16_FLOAT:
read_format = GL_RGBA;
read_type = GL_HALF_FLOAT;