Skip to content

Commit 2841a12

Browse files
committed
Working on Renderer
1 parent 0160043 commit 2841a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SDL/Renderer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public final class SDLRenderer {
126126
}
127127

128128
/// Fill a rectangle on the current rendering target with the drawing color.
129-
public func fill(rect: SDL_Rect?) {
129+
public func fill(rect: SDL_Rect? = nil) {
130130

131131
let rectPointer: UnsafePointer<SDL_Rect>?
132132
if let rect = rect {

0 commit comments

Comments
 (0)