anchor.diff:  Implementation
   Uses TERRA_Error, TERRA_Application;
   
  +{$IFNDEF STATIC_LINKING}
   Type
     TLibHandle = Cardinal;
   
   Var
     OpenGLHandle:TLibHandle;
  +{$ENDIF}
  +
  +Var
     ExtensionsList:TERRAString='';
   
   
  
positive.code:   glMatrixMode := glGetProcAddress('glMatrixMode');
    glLoadMatrixf := glGetProcAddress('glLoadMatrixf');
    {$ENDIF}
  End;
  
  Procedure FreeOpenGL;
  Begin
    If OpenGLHandle<>0 Then
      FreeLibrary(OpenGLHandle);
  End;
  
  Function glExtensionSupported(Extension:TERRAString):Boolean;
  Begin
  
negative.code:   If Not Assigned(Result) Then
      Log(logWarning,'GL', 'Function '+Proc+' not avaliable.');
  End;
  {$ENDIF}
  
  Procedure LoadOpenGL();
  Begin
  {$IFNDEF STATIC_LINKING}
  	TERRA_Log.Log(logDebug, 'GL', 'loading openGL');
    Log(logDebug, 'OpenGL', 'Loading library');
  
  