Description
when I try to make pangolin, I get this error:
pangolin/src/display/device/PangolinNSGLView.mm:75:54: error: use of undeclared identifier '_window'
this part of code:
-(void)reshape
1 {
74 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
1 if ( [self wantsBestResolutionOpenGLSurface] && [_window respondsToSelector:@selector(backingScaleFactor) ] )
2 backing_scale = [_window backingScaleFactor];
3 else
4 #endif
5 backing_scale = 1.0;
6
7 pangolin::process::Resize(self.bounds.size.width * backing_scale, self.bounds.size.height * backing_scale);
8
9 [[self openGLContext] update];
10 }
I try to just comment this stuff and all was cool, but when I run HellowPangolin.py, I get only red window
help plz, mb I need to rename this variable?