mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 00:37:47 +02:00
opengl: started cocoa
git-svn-id: trunk@49614 -
This commit is contained in:
parent
570d64b4ed
commit
b9f9f1e3a1
@ -40,6 +40,10 @@ unit OpenGLContext;
|
||||
{$DEFINE UseCarbonAGL}
|
||||
{$DEFINE OpenGLTargetDefined}
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLCocoa}
|
||||
{$DEFINE UseCarbonCGL}
|
||||
{$DEFINE OpenGLTargetDefined}
|
||||
{$ENDIF}
|
||||
{$IFDEF LCLWin32}
|
||||
{$DEFINE UseWin32WGL}
|
||||
{$DEFINE OpenGLTargetDefined}
|
||||
@ -72,6 +76,10 @@ uses
|
||||
GLCarbonAGLContext;
|
||||
{$DEFINE HasRGBBits}
|
||||
{$ENDIF}
|
||||
{$IFDEF UseCocoaCGL}
|
||||
GLCocoaCGLContext;
|
||||
{$DEFINE HasRGBBits}
|
||||
{$ENDIF}
|
||||
{$IFDEF UseWin32WGL}
|
||||
GLWin32WGLContext;
|
||||
{$DEFINE HasRGBBits}
|
||||
|
Loading…
Reference in New Issue
Block a user