[host] correct YUV output, do not copy padding bytes
This commit is contained in:
1 parent
b899a65726
commit
d292d46fcb
2 files changed
+11
-6
No files matched your search
@@ -129,8 +129,8 @@ bool TextureConverter::Initialize(
|
||||
if (m_texFormats[i] == DXGI_FORMAT_UNKNOWN)
|
||||
continue;
|
||||
|
||||
texDesc .Format = m_texFormats[i];
|
||||
targetDesc.Format = m_texFormats[i];
|
||||
texDesc .Format = m_texFormats[i];
|
||||
targetDesc.Format = m_texFormats[i];
|
||||
shaderDesc.Format = m_texFormats[i];
|
||||
|
||||
result = device->CreateTexture2D(&texDesc, NULL, &m_targetTexture[i]);
|
||||
|
||||
Reference in new issue
Block a user