[SDL] My sprites don't show up after converting project from C to C++
Gabriele Greco
gabriele.greco at darts.it
Wed Nov 28 02:07:43 PST 2007
Michael Sullivan wrote:
> On Tue, 2007-11-27 at 16:06 -0600, Michael Sullivan wrote:
>
>> I recently converted my project from C to C++ because I feel more
>> comfortable working with OOP than C. I think I've correctly converted
>> the code, but my sprites don't show up now. They did show up when the
>> project was in C. The source code is a bit long to post into an email,
>> so I've posted it to my webspace. Here's the link:
>>
>> http://www.espersunited.com/~michael/needhelp.txt
>>
I don't see anywhere before the Delay() call a SDL_Flip() or
SDL_UpdateRects() call, you need it to display your blits on screen, SDL
uses a shadow buffer also if you are working without double buffering or
windowed.
Bye,
Gabry
More information about the SDL
mailing list