anchor.diff:    fOpenGL_Version  := glGetString(GL_VERSION);  fLog.AddToLog('OpenGL Version:  ' +fOpenGL_Version);
   
     SetupVSync(aVSync);
  -
     BuildFont(h_DC, 16, FW_BOLD);
  -
     fRenderList := TRenderList.Create;
  -  {$ENDIF}
  -  {$IFDEF Unix}
  -    MessageBox(HWND(nil),'TRender.Create not working', 'Error', MB_OK);
  -  {$ENDIF}
   end;
   
   
  
positive.code: constructor TRender.Create(RenderFrame:HWND; aVSync:boolean);
  begin
    Inherited Create;
    {$IFDEF MSWindows}
    SetRenderFrame(RenderFrame, h_DC, h_RC);
    SetRenderDefaults;
    glDisable(GL_LIGHTING); //We don't need it
  
negative.code:   LoadTexture(ExeDir+'Resource\Tiles1.tga', TextT);
    fResource.MakeTileGFXFromTexture(TextT);
    if MAKE_ANIM_TERRAIN then begin
      for i:=1 to 8 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Water'+inttostr(i)+'.tga', TextW[i]);
      for i:=1 to 3 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Swamp'+inttostr(i)+'.tga', TextS[i]);
      for i:=1 to 5 do LoadTexture(ExeDir+'Resource'+ DirectorySeparator + 'Falls'+inttostr(i)+'.tga', TextF[i]);
    end;
  end;
  
  