Mercurial > mm7
changeset 2422:bb1273b1b9b6
//Uninitialized memory access
author | Ritor1 |
---|---|
date | Wed, 23 Jul 2014 01:18:24 +0600 |
parents | fc7456da5a93 |
children | 1b6bf88f561b |
files | Render.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Render.cpp Wed Jul 23 01:14:21 2014 +0600 +++ b/Render.cpp Wed Jul 23 01:18:24 2014 +0600 @@ -1881,7 +1881,7 @@ Point.x = 0; ClientToScreen(hWindow, &Point); OffsetRect(&rc, Point.x, Point.y); - pFrontBuffer->Blt(&rc, pBackBuffer, &v5, DDBLT_WAIT, 0); + pFrontBuffer->Blt(&rc, pBackBuffer, &v5, DDBLT_WAIT, 0);//Uninitialized memory access } else pFrontBuffer->Flip(0, 1); @@ -2759,7 +2759,7 @@ for ( test_byte = 1; test_byte < 63; ++test_byte ) { v15 = i + test_byte; - if ( lineRGB[v15] != pict_byte ) + if ( lineRGB[v15] != pict_byte )//Uninitialized memory access break; if ( !(v15 % pitch) ) break;