DerelictSDL2 crashes

unDEFER via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 27 04:52:54 PDT 2016


I have fixed the error by replacing:

>     Uint32 __attribute__((aligned(16))) cccc[4];

with:

     Uint32 __attribute__((aligned(16))) ccc[5];
     Uint32 *cccc = ccc+1;

After this it falls in other place:

SDL_Rect real_srcrect = { 0, 0, 0, 0 };

The same code on C works fine. I really don't know what to do..


More information about the Digitalmars-d mailing list