CComponentsPicture: Align pictures at 4 byte boundary...

...for hw blit on apollo/kronos hardware
This commit is contained in:
M. Liebmann
2016-01-26 06:16:32 +01:00
parent 95f11ce7af
commit 346b28556f
2 changed files with 5 additions and 4 deletions

View File

@@ -1347,10 +1347,6 @@ void CMovieBrowser::refreshMovieInfo(void)
if (logo_ok) {
flogo_w = (int)(((float)16 / (float)9) * (float)m_cBoxFrameInfo.iHeight);
flogo_h = m_cBoxFrameInfo.iHeight;
#ifdef BOXMODEL_APOLLO
/* align for hw blit */
flogo_w = ((flogo_w + 3) / 4) * 4;
#endif
}
static int logo_w = 0;