Difference for 2d/bitblt.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 19
 
Line 19
  * Routines for bitblt's.   * Routines for bitblt's.
  *   *
  * $Log$   * $Log$
    * Revision 1.9  2000/10/27 09:23:00  donut
    * make show_fullscr accelerate scaling with OGL if possible
    *
  * Revision 1.8  1999/11/20 10:05:16  donut   * Revision 1.8  1999/11/20 10:05:16  donut
  * variable size menu patch from Jan Bobrowski.  Variable menu font size support and a bunch of fixes for menus that didn't work quite right, by me (MPM).   * variable size menu patch from Jan Bobrowski.  Variable menu font size support and a bunch of fixes for menus that didn't work quite right, by me (MPM).
  *   *
Line 1069
 
Line 1072
 {  {
  grs_bitmap * const scr = &grd_curcanv->cv_bitmap;   grs_bitmap * const scr = &grd_curcanv->cv_bitmap;
   
   #ifdef OGL
    if(bm->bm_type == BM_LINEAR && scr->bm_type == BM_OGL) {
    ogl_ubitblt_i(scr->bm_w,scr->bm_h,0,0,bm->bm_w,bm->bm_h,0,0,bm,scr);//use opengl to scale, faster and saves ram. -MPM
    return;
    }
   #endif
  if(scr->bm_type != BM_LINEAR) {   if(scr->bm_type != BM_LINEAR) {
  grs_bitmap *tmp = gr_create_bitmap(scr->bm_w, scr->bm_h);   grs_bitmap *tmp = gr_create_bitmap(scr->bm_w, scr->bm_h);
  gr_bitmap_scale_to(bm, tmp);   gr_bitmap_scale_to(bm, tmp);

Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9