anchor.diff:  function SetDCPixelFormat(h_DC:HDC):boolean;
   {$IFDEF MSWindows}
   //this function looks like not for Linux at all
  +//@Vitautas: Perhaps, I don't know for sure. I hope you will find an analog in Unix :)
   var
     nPixelFormat: Integer;
     PixelDepth:integer;
     pfd: TPixelFormatDescriptor;
   
     {$IFDEF Unix}
  +//@Vitautas: All these fields are memmbers of record pfd:
  +{pfd: record 
  +  nSize, 
  +  nVersion... 
  +end;}
     nSize, nVersion, dwFlags, iPixelType, cColorBits, cRedBits,
     cRedShift, cGreenBits, cGreenShift, cBlueBits, cBlueShift,
     cAlphaBits, cAlphaShift, cAccumBits, cAccumRedBits, cAccumGreenBits,
  
positive.code:   {$IFDEF Unix}
    //TODO need to emulate these functions (with freetype you should be able to code a multi platform solution).
    {$ENDIF}
  
  end;
  
  
  
negative.code:            else glTranslatef(-Value,-Value,0);
  end;
  
  
  //@Vitautas: This function is used to enable/disable V-Sync
  procedure SetupVSync(aVSync:boolean);
  begin
  {$IFDEF MSWindows}
    if WGL_EXT_swap_control then
      wglSwapIntervalEXT(byte(aVSync)); //1 or 0
  {$ENDIF}
  end;
  
  
  end.
  