Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed the MultiViewFilterExample on the Mac side.

  • Loading branch information...
commit de7c1a13603ec7ea7ebabdeb696012ac75252a93 1 parent ec9b9f8
@BradLarson authored
View
2  examples/Mac/MultiViewFilterExample/MultiViewFilterExample/SLSMultiViewWindowController.m
@@ -22,7 +22,7 @@ - (void)windowDidLoad
{
[super windowDidLoad];
- videoCamera = [[GPUImageAVCamera alloc] initWithSessionPreset:AVCaptureSessionPreset640x480 cameraPosition:AVCaptureDevicePositionUnspecified];
+ videoCamera = [[GPUImageAVCamera alloc] initWithSessionPreset:AVCaptureSessionPreset640x480 cameraDevice:nil];
filter1 = [[GPUImageFilter alloc] initWithFragmentShaderFromFile:@"Shader1"];
filter2 = [[GPUImageFilter alloc] initWithFragmentShaderFromFile:@"Shader2"];
Please sign in to comment.
Something went wrong with that request. Please try again.