For some reason you assume that SDL_RenderReadPixels allocates pixels array and returns resulting pitch; it does neither. Calling side passes pixels array ...
確定! 回上一頁