gl: Enable handling of X16 blit targets

This commit is contained in:
kd-11 2021-11-16 23:01:51 +03:00 committed by kd-11
parent 97bd8f7bc1
commit 58f0fa3ca5

View File

@ -727,6 +727,11 @@ namespace gl
cached.set_format(gl::texture::format::depth, gl::texture::type::ushort, true);
break;
}
case CELL_GCM_TEXTURE_X16:
{
cached.set_format(gl::texture::format::r, gl::texture::type::ushort, true);
break;
}
default:
fmt::throw_exception("Unexpected gcm format 0x%X", gcm_format);
}