Has anyone ran across the problem with SDL_Image where a mix of pngs and bmps is having unusual results. I set up two apps, one was all pngs and they all load and display fine. Second app, is a mix of bmps and pngs, other wise code is the same. The difference is the pngs do not show up at all.
In a third app we have a mix of pngs and bmps but it seems to depend on when we blit the pngs and bmps as to whether they show up.
This is SDL 1.2 using opengl with double buffered screen. Our app is of the standard design with a drawGLScene function that has the
gluOrtho2D(0.0, SCREEN_WIDTH, 0.0, SCREEN_HEIGHT);
then the blit();
then ends with the swap_buffer call.
If we insert a glBlitfast of a png right before the swap it shows up. In the blit() function there are many blits both bmp and png and that is where we see the issue with the pngs.
_________________ When I am blind, I see as well as everyone else thinks they do.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum