I don't know Python but the code here seems fine. To draw a rectangle, set the color with SDL_SetRenderDrawColor and then use SDL_RenderFillRect ...
確定! 回上一頁