insert TODO

This commit is contained in:
Glenn Maynard
2002-12-20 18:45:35 +00:00
parent 7ba6b5d446
commit a4588f6c11
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ HRESULT CTextureRenderer::SetMediaType(const CMediaType *pmt)
pviBmp = (VIDEOINFO *)pmt->Format();
m_lVidWidth = pviBmp->bmiHeader.biWidth;
m_lVidHeight = abs(pviBmp->bmiHeader.biHeight);
m_lVidPitch = (m_lVidWidth * 3 + 3); // We are forcing RGB24
m_lVidPitch = (m_lVidWidth * 3 + 3) + ~3; // We are forcing RGB24
return S_OK;
}