Ticket #350 (new enhancement)

Opened 1 year ago

Last modified 6 months ago

Do not hardcode SDL RGBA mask

Reported by: odole Assigned to: mbensi
Priority: minor Milestone: Pukarua
Component: Code review Version: 1.0
Keywords: Cc:
Number of hours worked: % Complete: 00
Number of hours remaining:

Description

RGBA mask is harcoded in different files for SDL implementation. A typical example is BCImageBufferSDL.cpp.
A better way to do this would be to retrieve mask from SDL_GetVideoInfo() call:

const SDL_VideoInfo* videoInfo;
videoInfo = SDL_GetVideoInfo();
uint32_t Rmask = videoInfo->vfmt->Rmask;

Change History

02/23/10 14:55:53 changed by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin