Example programs bugfixes © 0CodErr

This commit is contained in:
Владислав Джавадов 2020-06-24 16:24:49 +03:00
parent e397ace02c
commit a6dcaf154c
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ begin
WndTop := (Height - WndHeight) div 2;
Image := HeapAllocate(Width * Height * 3);
Preview := HeapAllocate(Width * Height * 3 div 2);
Preview := HeapAllocate(Width * Height * 3 div 4);
GetScreenImage(Image^, 0, 0, Width, Height);
ResizeImage;