Skip to content

Commit

Permalink
Don't set clearColor to black
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed May 29, 2024
1 parent 7607fc6 commit 778be65
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/vgerSwift/Renderer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ class Renderer: NSObject, MTKViewDelegate {
renderCallback?(vg!, size)

if let renderPassDescriptor = view.currentRenderPassDescriptor, let currentDrawable = view.currentDrawable {

renderPassDescriptor.colorAttachments[0].clearColor = MTLClearColorMake(0, 0, 0, 1)

vgerEncode(vg, commandBuffer, renderPassDescriptor)
commandBuffer.present(currentDrawable)
}
Expand Down

0 comments on commit 778be65

Please sign in to comment.