Difference for arch/ogl/gr.c from version 1.27 to 1.28


version 1.27 version 1.28
Line 446
 
Line 446
  int c=COLOR;   int c=COLOR;
    
  xo=(left+grd_curcanv->cv_bitmap.bm_x)/(float)last_width;   xo=(left+grd_curcanv->cv_bitmap.bm_x)/(float)last_width;
  xf=(right+grd_curcanv->cv_bitmap.bm_x)/(float)last_width;   xf=(right+1+grd_curcanv->cv_bitmap.bm_x)/(float)last_width;
  yo=1.0-(top+grd_curcanv->cv_bitmap.bm_y)/(float)last_height;   yo=1.0-(top+grd_curcanv->cv_bitmap.bm_y)/(float)last_height;
  yf=1.0-(bot+grd_curcanv->cv_bitmap.bm_y)/(float)last_height;   yf=1.0-(bot+1+grd_curcanv->cv_bitmap.bm_y)/(float)last_height;
    
  OGL_DISABLE(TEXTURE_2D);   OGL_DISABLE(TEXTURE_2D);
  glColor3f(CPAL2Tr(c),CPAL2Tg(c),CPAL2Tb(c));   glColor3f(CPAL2Tr(c),CPAL2Tg(c),CPAL2Tb(c));

Legend:
line(s) removed in v.1.27 
line(s) changed
 line(s) added in v.1.28