anchor.diff:  type HDC = integer;
   type HGLRC = integer;
   type HWND = integer;
  +type FW_BOLD = integer;
   {$ENDIF}
   
   type
  
positive.code:     //glRotate(-15,0,0,1); //Funny thing
      glTranslatef(fViewport.ViewWidth/2,fViewport.ViewHeight/2,0);
      glkScale(fViewport.Zoom*CELL_SIZE_PX);
      glTranslatef(-fViewport.GetCenter.X+TOOLBAR_WIDTH/CELL_SIZE_PX/fViewport.Zoom,-fViewport.GetCenter.Y,0);
  
      if RENDER_3D then begin
  
negative.code:   BuildFont(h_DC, 16, FW_BOLD);
  
    setlength(RenderList,512);
    {$ENDIF}
    {$IFDEF Unix}
      MessageBox(Form1.Handle,'Trender.Create not working', 'Error', MB_OK);
    {$ENDIF}
  end;
  
  
  destructor TRender.Destroy;
  begin
    setlength(RenderList,0);
    {$IFDEF MSWindows}
    wglMakeCurrent(h_DC, 0);
    wglDeleteContext(h_RC);
    {$ENDIF}
    {$IFDEF Unix}
    //do not know how to fix them :(
    //just error for now
    MessageBox(Form1.Handle,'glXMakeCurrent and glXDestroyContext not working', 'Error', MB_OK);
    //glXMakeCurrent(display, wid, util_glctx);
    //glXDestroyContext(h_RC);
    {$ENDIF}
    Inherited;
  end;
  
  