@ -165,11 +165,15 @@ void R_DrawStretchPicImplementation( int x, int y, int w, int h, int s1, int t1,
@@ -165,11 +165,15 @@ void R_DrawStretchPicImplementation( int x, int y, int w, int h, int s1, int t1,
pixel_t screen = dest [ u ] ;
dest [ u ] = vid . addmap [ ( src & 0xff00 ) | ( screen > > 8 ) ] < < 8 | ( screen & 0xff ) | ( ( src & 0xff ) > > 0 ) ;
}
else if ( vid . rendermode = = kRenderScreenFadeModulate )
{
pixel_t screen = dest [ u ] ;
dest [ u ] = BLEND_COLOR ( screen , vid . color ) ;
}
else if ( alpha < 7 ) // && (vid.rendermode == kRenderTransAlpha || vid.rendermode == kRenderTransTexture ) )
{
pixel_t screen = dest [ u ] ; // | 0xff & screen & src ;
dest [ u ] = BLEND_ALPHA ( alpha , src , screen ) ; //vid.alphamap[( alpha << 16)|(src & 0xff00)|(screen>>8)] << 8 | (screen & 0xff) >> 3 | ((src & 0xff) >> 3);
dest [ u ] = BLEND_ALPHA ( alpha , src , screen ) ; //vid.alphamap[( alpha << 16)|(src & 0xff00)|(screen>>8)] << 8 | (screen & 0xff) >> 3 | ((src & 0xff) >> 3);
}
else
dest [ u ] = src ;