mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-21 22:53:51 +02:00
Example programs bugfixes © 0CodErr
This commit is contained in:
@@ -69,7 +69,7 @@ begin
|
|||||||
WndTop := (Height - WndHeight) div 2;
|
WndTop := (Height - WndHeight) div 2;
|
||||||
|
|
||||||
Image := HeapAllocate(Width * Height * 3);
|
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);
|
GetScreenImage(Image^, 0, 0, Width, Height);
|
||||||
ResizeImage;
|
ResizeImage;
|
||||||
|
Reference in New Issue
Block a user