Difference for arch/ogl/ogl.c from version 1.26 to 1.27


version 1.26 version 1.27
Line 1032
 
Line 1032
  int w1,h1;   int w1,h1;
 // w1=w;h1=h;  // w1=w;h1=h;
  w1=grd_curscreen->sc_w;h1=grd_curscreen->sc_h;   w1=grd_curscreen->sc_w;h1=grd_curscreen->sc_h;
  if (w1*h1*4>OGLTEXBUFSIZE)   if (w1*h1*3>OGLTEXBUFSIZE)
  Error("ogl_ubitblt_tolinear: screen res larger than OGLTEXBUFSIZE\n");   Error("ogl_ubitblt_tolinear: screen res larger than OGLTEXBUFSIZE\n");
   
  if (ogl_readpixels_ok>0){   if (ogl_readpixels_ok>0){
Line 1057
 
Line 1057
 #else  #else
  int i,j,c=0;   int i,j,c=0;
  unsigned char *d,*s,*e;   unsigned char *d,*s,*e;
  if (w*h*4>OGLTEXBUFSIZE)   if (w*h*3>OGLTEXBUFSIZE)
  Error("ogl_ubitblt_tolinear: size larger than OGLTEXBUFSIZE\n");   Error("ogl_ubitblt_tolinear: size larger than OGLTEXBUFSIZE\n");
  sx+=src->bm_x;   sx+=src->bm_x;
  sy+=src->bm_y;   sy+=src->bm_y;

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