let ogl_ubitblt not return alpha channel to ogl_ubitblt_i

This commit is contained in:
zicodxx 2007-02-02 10:26:13 +00:00
parent 15c8b32568
commit d136627b86
2 changed files with 5 additions and 1 deletions

View file

@ -1021,7 +1021,7 @@ bool ogl_ubitblt_i(int dw,int dh,int dx,int dy, int sw, int sh, int sx, int sy,
return 0;
}
bool ogl_ubitblt(int w,int h,int dx,int dy, int sx, int sy, grs_bitmap * src, grs_bitmap * dest){
return ogl_ubitblt_i(w,h,dx,dy,w,h,sx,sy,src,dest,1);
return ogl_ubitblt_i(w,h,dx,dy,w,h,sx,sy,src,dest,0);
}
#endif
bool ogl_ubitblt_tolinear(int w,int h,int dx,int dy, int sx, int sy, grs_bitmap * src, grs_bitmap * dest){

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20070202
--------
arch/ogl/ogl.c: let ogl_ubitblt not return alpha channel to ogl_ubitblt_i
20070130
--------
d1x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, main/inferno.c, main/object.c: added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency