examples: openglcontrol: clean up

git-svn-id: trunk@46941 -
This commit is contained in:
mattias 2014-11-21 23:13:57 +00:00
parent 285ae1d692
commit 60489e5cc0
2 changed files with 1 additions and 12 deletions

View File

@ -402,14 +402,8 @@ end;
procedure TExampleForm.IdleFunc(Sender: TObject; var Done: Boolean);
begin
{$IFDEF LCLQT}
// the QT backend currently uses a hack, which does not work together with the
// QT painting mechanism. You have to "paint" outside the paint message:
{$NOTE Remove this when the TOpenGLControl backend for QT uses the QT way of using OpenGL}
OpenGLControl1Paint(Self);
{$ELSE}
OpenGLControl1.Invalidate;
{$ENDIF}
//OpenGLControl1Paint(Self);
Done:=false; // tell lcl to handle messages and return immediatly
end;

View File

@ -47,10 +47,5 @@
</ProjectOptions>
<CompilerOptions>
<Version Value="11"/>
<Parsing>
<SyntaxOptions>
<UseAnsiStrings Value="False"/>
</SyntaxOptions>
</Parsing>
</CompilerOptions>
</CONFIG>