浏览代码

设置为白色背景

jsonwang 3 年之前
父节点
当前提交
1085298f3b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BFFramework/Classes/PQGPUImage/Source/iOS/RenderView.swift

+ 1 - 1
BFFramework/Classes/PQGPUImage/Source/iOS/RenderView.swift

@@ -14,7 +14,7 @@ public protocol RenderViewDelegate: class {
 public class RenderView: UIView, ImageConsumer {
 public class RenderView: UIView, ImageConsumer {
     public weak var delegate: RenderViewDelegate?
     public weak var delegate: RenderViewDelegate?
 
 
-    public var backgroundRenderColor = Color.black
+    public var backgroundRenderColor = Color.white
     public var fillMode = FillMode.preserveAspectRatio
     public var fillMode = FillMode.preserveAspectRatio
     public var orientation: ImageOrientation = .portrait
     public var orientation: ImageOrientation = .portrait
     public var sizeInPixels: Size { return Size(width: Float(frame.size.width * contentScaleFactor), height: Float(frame.size.height * contentScaleFactor)) }
     public var sizeInPixels: Size { return Size(width: Float(frame.size.width * contentScaleFactor), height: Float(frame.size.height * contentScaleFactor)) }