Fixed a problem with lambda variable capture

- Fixed a problem with capturing member variable in OGLplus example.