[Derelict2] Code SOMETIMES seg. faults!
minas_mina1990 at hotmail.co.uk
Thu May 10 12:08:04 PDT 2012
Well, my code is really simple, compiles and runs fine.
int val = SDL_Init(SDL_INIT_EVERYTHING);
SDL_Surface *screen = SDL_SetVideoMode(640, 480, 32,
But sometimes (at about 3-5 runs), I get a segmentation fault!
bash: line 1: 12951 Segmentation fault (core dumped)
0 is the return value of SDL_Init, so everything ok here. I don't
know why this is happening? Has anyone had a similar problem?
More information about the Digitalmars-d-learn