| 140 | } |
| 141 | |
| 142 | libfreenect2::Frame *downloadToNewFrame() |
| 143 | { |
| 144 | libfreenect2::Frame *f = new libfreenect2::Frame(width, height, bytes_per_pixel); |
| 145 | downloadToBuffer(f->data); |
| 146 | flipYBuffer(f->data); |
| 147 | |
| 148 | return f; |
| 149 | } |
| 150 | }; |
| 151 | |
| 152 | struct ShaderProgram : public WithOpenGLBindings |
nothing calls this directly
no outgoing calls
no test coverage detected