mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2024-09-19 17:41:01 +02:00
Example programs bugfixes © 0CodErr
This commit is contained in:
parent
e397ace02c
commit
a6dcaf154c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user