-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
In D3DVisualization_dxsdk.vcxproj, I edit D3DVisualization.cpp,
HRESULT CCube::Render(void * pResource, bool isNewSurface, unsigned char * yuvData) // add yuvData parameter
{
...
m_pImmediateDeviceContext->UpdateSubresource(pBackBuffer, 0, NULL, yuvData, 1920, 0);
if (NULL != m_pImmediateDeviceContext)
{
m_pImmediateDeviceContext->Flush();
}
}
The display is error, could you help me ?
The source code is D3D11Image.zip
Thank you very much!
Metadata
Metadata
Assignees
Labels
No labels