comparison include/SDL_video.h @ 431:41cadcba32e8

Fixed SDL_DisplayFormatAlpha() on RGB surfaces with alpha
author Sam Lantinga <slouken@libsdl.org>
date Thu, 01 Aug 2002 23:06:39 +0000
parents 9154ec9ca3d2
children 80a35d43a58f
comparison
equal deleted inserted replaced
430:60effdbf14ee 431:41cadcba32e8
643 * RGB->RGBA: 643 * RGB->RGBA:
644 * SDL_SRCALPHA set: 644 * SDL_SRCALPHA set:
645 * alpha-blend (using the source per-surface alpha value); 645 * alpha-blend (using the source per-surface alpha value);
646 * set destination alpha to opaque. 646 * set destination alpha to opaque.
647 * SDL_SRCALPHA not set: 647 * SDL_SRCALPHA not set:
648 * copy RGB, set destination alpha to opaque. 648 * copy RGB, set destination alpha to source per-surface alpha value.
649 * both: 649 * both:
650 * if SDL_SRCCOLORKEY set, only copy the pixels matching the 650 * if SDL_SRCCOLORKEY set, only copy the pixels matching the
651 * source colour key. 651 * source colour key.
652 * 652 *
653 * RGBA->RGBA: 653 * RGBA->RGBA: