mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 23:58:06 +02:00
examples: clean up
git-svn-id: trunk@16081 -
This commit is contained in:
parent
14797c0b4e
commit
e2280116f1
@ -43,6 +43,9 @@ type
|
||||
end;
|
||||
|
||||
type
|
||||
|
||||
{ TExampleForm }
|
||||
|
||||
TExampleForm = class(TForm)
|
||||
OpenGLControl1: TOpenGLControl;
|
||||
ExitButton1: TButton;
|
||||
@ -446,9 +449,8 @@ end;
|
||||
procedure TExampleForm.IdleFunc(Sender: TObject; var Done: Boolean);
|
||||
begin
|
||||
OpenGLControl1.Invalidate;
|
||||
OpenGLControl1Paint(Self);
|
||||
//OpenGLControl1Paint(Self);
|
||||
Done:=false; // tell lcl to handle messages and return immediatly
|
||||
|
||||
end;
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user