It's prob too late to do any good but I figure this thread'll be referenced again so here's my PNG load code in case anyone is still unclear about the format surface funcs:
// load the imagem_pImage = IMG_Load(strFileName.c_str());if (!m_pImage){ // uh oh return;}// convert the image into the current display formatif (m_pImage->format->alpha) m_pImage = SDL_DisplayFormatAlpha(m_pImage);else m_pImage = SDL_DisplayFormat(m_pImage);
_________________________________________________________________
Drew Sikora
President, Lead Programmer - Blade Edge Software
Staff Writer, Newsletter Editor - GameDev.net
Community Relations - Game Institute