//x, y, width, height SDL_Rect * rect = new SDL_Rect(10, 10, 10, 10); //Colour rgba SDL_SetRenderDrawColor( renderer, 0, 0, 255, 255 ); // Render rect SDL_RenderFillRect( renderer, r );