Home › Forums › Syphon › Syphon Development – Developer › All frames are being rendered black › Reply To: All frames are being rendered black
June 11, 2015 at 4:35 am
#59004
Keymaster
Sounds like you’re getting there – just as a note, an init method should always call it’s superclass’s init method, for example
- (id)initWithContext:(CGLContextObj)context {
self = [super init]; // Assuming super is NSObject
if (self) {
cgl_ctx = CGLRetainContext(context);
}
return self;
}