anchor.diff:  Uses
     {$IFDEF WINDOWS}Windows,{$ENDIF}
     {$IFDEF FPC}Math,DynLibs,{$ENDIF}
  -  {$IFDEF LINUX}GLX,{$ENDIF}
     {$IFDEF OSX}TERRA_AGL,{$ENDIF}
     TERRA_Object, TERRA_String, TERRA_Log, TERRA_Matrix4x4, TERRA_Math;
   
  
positive.code: Function wglGetProcAddress(proc:PAnsiChar):Pointer; stdcall; external 'OpenGL32.dll';
  {$ENDIF}
  
  Function SearchOpenGLProc(Const ProcName:TERRAString):Pointer;
  Begin
    Result := Nil;
  
negative.code:   {$ENDIF}
  
    {$IFDEF LINUX}
    If Assigned(glxGetProcAddress) Then
      Result := glxGetProcAddress(PAnsiChar(ProcName));
  
     If (Assigned(glXGetProcAddressARB)) And (Result = Nil) Then
      Result := glXGetProcAddressARB(PAnsiChar(ProcName));
    {$ENDIF}
  
  
  