mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 06:29:32 +02:00
Fixes TOpenGLContext in Carbon
git-svn-id: trunk@18661 -
This commit is contained in:
parent
e4968ed235
commit
18b9f259d5
@ -1,12 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<PathDelim Value="/"/>
|
||||
<Version Value="6"/>
|
||||
<Version Value="7"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<LRSInOutputDirectory Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<MainUnit Value="0"/>
|
||||
<IconPath Value="./"/>
|
||||
<TargetFileExt Value=""/>
|
||||
</General>
|
||||
<PublishOptions>
|
||||
@ -39,16 +40,13 @@
|
||||
<Filename Value="mainunit.pas"/>
|
||||
<ComponentName Value="Form1"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<ResourceFilename Value="mainunit.lrs"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
<UnitName Value="MainUnit"/>
|
||||
</Unit1>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="5"/>
|
||||
<CodeGeneration>
|
||||
<Generate Value="Faster"/>
|
||||
</CodeGeneration>
|
||||
<Version Value="8"/>
|
||||
<Linking>
|
||||
<Options>
|
||||
<Win32>
|
||||
|
@ -114,7 +114,7 @@ begin
|
||||
// use the carbon window.
|
||||
// TODO: find a way to use only the control for the context
|
||||
aglSetDrawable(aglContext,
|
||||
GetWindowPort(TCarbonWindow(GetParentForm(AWinControl).Handle).Widget));
|
||||
GetWindowPort(TCarbonWindow(GetParentForm(AWinControl).Handle).Window));
|
||||
|
||||
AGLControlInfo_FOURCC := MakeFourCC('ACI ');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user