SDL problem - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: SDL problem (/thread-3148.html)
SDL problem - riddick1 - Jul 25, 2007 02:51 AM
which function in this code respond for showing picture on the screen
SDL problem - OneSadCookie - Jul 25, 2007 03:11 AM
SDL problem - riddick1 - Jul 25, 2007 04:59 AM
this code responds for loading an image, but this image doesn't show up on the screen
SDL problem - sealfin - Jul 25, 2007 08:47 AM
Well, there are three glaring bugs which may be why your image is not be showing up on the screen:
That might be your problem.
N.b. also, depending on the version of SDL you are using, your call to SDL_SetAlpha() could be setting the surface alpha to transparent.