On Wednesday, 5 June 2013 at 20:34:17 UTC, Johan F. wrote:
    struct SDL_Texture;

Just guessing here, what happens if you make that

extern(C) struct SDL_Texture;

?

Also, is simply adding {} the right way of fixing it, or will that possibly break something else?

This shouldn't break anything since it is just adding RTTI info to D (opCmp, toHash, etc, are members of the D TypeInfo for this struct. why they are required in this case is beyond me). It doesn't change the actual core of the code, which are still just pointers.

Reply via email to