Re: [Sdl4fp-users] Event handling
Brought to you by:
trixx
From: Daniel F M. <dmo...@gr...> - 2006-03-04 20:29:58
|
On Tue, 2006-02-28 at 19:51 +0100, Matthias wrote: > Hi Samuel, > =20 > thanks for your answer. Do you know why I don't have to allocate > surface pointer even though it is a pointer, too? You usually write: var my_surface: PSDL_Surface; ... my_surface :=3D SDL_CreateRGBSurface (...); And the function SDL_CreateRGBSurface allocates the surface. So, you are allocating it, you just didn't know. D. --=20 "Why program by hand in five days what you can spend five years of your life automating." -- Terrence Parr, ANTLR author |