No images sent to the window

hi, i’m reading a book called focus on SDL and i’ve made this code
with it. it doesnt do what it’s supposed to though. it’s supposed to
paint random rectangles on the window but it doesn’t. i got a
suggestion or 2 on the freenode chat #SDL, but that didn’t change the
output.

i’ll put the code on a paste site since it might be easier to read that way.
http://rafb.net/p/EE5qPE14.html

Ah, helps if you set the rect’s “.h”… you accidentally set its “.y” a
second time. :slight_smile: (Line 56)On Mon, Sep 03, 2007 at 10:22:09PM -0400, malik martin wrote:

i’ll put the code on a paste site since it might be easier to read that way.
http://rafb.net/p/EE5qPE14.html


-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/

good eyes there bill!!! thanks a lot!!!
lol!!On 9/3/07, Bill Kendrick wrote:

On Mon, Sep 03, 2007 at 10:22:09PM -0400, malik martin wrote:

i’ll put the code on a paste site since it might be easier to read that way.
http://rafb.net/p/EE5qPE14.html

Ah, helps if you set the rect’s “.h”… you accidentally set its “.y” a
second time. :slight_smile: (Line 56)


-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org