SDL digest, Vol 1 #950 - 21 msgs

When loading images via SDL_LoadBMP() you don’t have to allocate memory to do so. The CreateRGBSurface call was uncalled for. Infact, it looks like a memory leak.

sdl-request at wrote:> ATTACHMENT part 3.10 message/rfc822
From: "Alessandro Ardolino"
Subject: Re: [SDL] Low Framerate
Date: Thu, 30 Oct 2003 14:31:55 +0100

//creo una superficie vuota in System Memory per accedere ai pixel

//della WalkMap

SDL_Surface *walkMap;

walkMap=SDL_CreateRGBSurface(SDL_SWSURFACE, 400, 300, 2, 0,0,0,0);


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears