I\'m trying to implement a wrapper around SDL2 with texture and sprite management and encountered a problem which I cannot solve for three days already and I\'m about to dro