mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 12:00:18 +02:00
clean up
git-svn-id: trunk@20250 -
This commit is contained in:
parent
1407c4bda8
commit
e541407654
@ -534,7 +534,6 @@ var
|
||||
Desc: TRawImageDescription absolute ARawImage.Description;
|
||||
displayID: CGDirectDisplayID;
|
||||
ScreenImage: CGImageRef;
|
||||
dataProvider: CGDataProviderRef;
|
||||
begin
|
||||
Result := False;
|
||||
|
||||
@ -551,7 +550,7 @@ begin
|
||||
{ Get's a screenshot }
|
||||
displayID := CGMainDisplayID();
|
||||
ScreenImage := grabViaOpenGL(displayID, CGDisplayBounds(displayID));
|
||||
dataProvider := CGImageGetDataProvider(ScreenImage);
|
||||
//dataProvider := CGImageGetDataProvider(ScreenImage);
|
||||
|
||||
{ Fills the image description }
|
||||
ARawImage.Init;
|
||||
|
@ -106,7 +106,6 @@ var
|
||||
QuitHandler: EventHandlerRef;
|
||||
TmpSpec: EventTypeSpec;
|
||||
Loop: TApplicationMainLoop = nil;
|
||||
Dummy: LongWord;
|
||||
begin
|
||||
// Get our TApplicationMainLoop
|
||||
Result := noErr;
|
||||
|
Loading…
Reference in New Issue
Block a user