Jump to content
Posted 30 June 2012 - 09:22 AM
Posted 30 June 2012 - 09:46 AM
HRESULT Result(E_FAIL); m_Context->Map(*Buffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &BufferContents); if (FAILED(Result)) return Result;
Result = m_Context->Map(*Buffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &BufferContents);
BufferContents.pData = &m_cPerObject;
memcpy (BufferContents.pData, &m_cPerObject, sizeof (m_cPerObject));
Edited by mhagain, 30 June 2012 - 09:46 AM.
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.
Posted 30 June 2012 - 10:07 AM