#45 missing breaks in case

closed
Matěj Týč
None
5
2010-03-22
2010-03-18
Anonymous
No

iGetIntegervImage:

case IL_PALETTE_BASE_TYPE:
switch (Image->Pal.PalType)
{
case IL_PAL_RGB24:
*Param = IL_RGB;
case IL_PAL_RGB32:
*Param = IL_RGBA; // Not sure
case IL_PAL_RGBA32:
*Param = IL_RGBA;
case IL_PAL_BGR24:
*Param = IL_BGR;
case IL_PAL_BGR32:
*Param = IL_BGRA; // Not sure
case IL_PAL_BGRA32:
*Param = IL_BGRA;
}
break;

Discussion

  • Matěj Týč
    Matěj Týč
    2010-03-22

    Thank you, incorporated into the devel branch.

     
  • Matěj Týč
    Matěj Týč
    2010-03-22

    • assigned_to: nobody --> bubla
    • status: open --> closed