We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 90

Summary: SetAlpha silently fails without error for SDL_DisplayFormatAlpha
Product: SDL Reporter: Sam Lantinga <slouken>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: don't know   
Hardware: All   
OS: All   

Description Sam Lantinga 2006-01-27 00:29:36 UTC
Date: Mon, 23 Feb 2004 14:49:48 -0500
From: "Millaway, John" <John_Millaway@ghrsystems.com>
Subject: [SDL] SetAlpha silently fails without error for SDL_DisplayFormatAlpha

Hi,

SetAlpha silently fails without error if the surface was created with
SDL_DisplayFormatAlpha() instead of SDL_DisplayFormat(). This should be
documented or at least return an error code.
Comment 1 Ryan C. Gordon 2006-01-27 11:23:27 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 2 Sam Lantinga 2006-03-20 01:37:47 UTC
This is fixed in CVS:
The palette -> RGBA blit wasn't following the rule:
 * RGB->RGBA:
 *     SDL_SRCALPHA not set:
 *      copy RGB, set destination alpha to source per-surface alpha value.

Please reopen this bug if there are any other cases that aren't working correctly.