| 
														
															@@ -134,7 +134,13 @@ open class BasicOperation: ImageProcessingOperation { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             internalRenderFunction(inputFramebuffers[0]!, textureProperties: textureProperties) 
														 | 
														
														 | 
														
															             internalRenderFunction(inputFramebuffers[0]!, textureProperties: textureProperties) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             disableStencil() 
														 | 
														
														 | 
														
															             disableStencil() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            internalRenderFunction(inputFramebuffers[0]!, textureProperties: textureProperties) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            do { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                let imageFramebuffer = try Framebuffer(context: sharedImageProcessingContext, orientation: .portrait, size: GLSize(width: 0, height: 0), textureOnly: true) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                internalRenderFunction(inputFramebuffers[0] ?? imageFramebuffer, textureProperties: textureProperties) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } catch { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                fatalError("Could not create a framebuffer  error: \(error)") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+             
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |