[DerelictSDL] SDL_RenderCopy does not accept optional arguements when written in a file aside from main
Jack via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Dec 24 05:38:02 PST 2015
On Thursday, 24 December 2015 at 12:42:11 UTC, Lucien wrote:
> On Thursday, 24 December 2015 at 11:32:24 UTC, Jack wrote:
>> On Thursday, 24 December 2015 at 10:42:57 UTC, Lucien wrote:
>>> [...]
>>
>> I actually have a pointer in the original project but I seem
>> to forgot it when I'm typing this example. Sorry bout the
>> misunderstanding, but yeah problem still stands.
>
> I can't help you without your original code.
I think I fixed it. I was initializing SDL_Rects to nulls inside
some of the arguments. It was a slight case of Spaghetti Code.
Oh well, thank you for your time.
More information about the Digitalmars-d-learn
mailing list