| 177 | } |
| 178 | |
| 179 | void seek(int nDiff) |
| 180 | { |
| 181 | if (!isPlayerOn()) |
| 182 | { |
| 183 | displayMessage("Seeking is only supported in playback mode!"); |
| 184 | return; |
| 185 | } |
| 186 | |
| 187 | seekFrame(nDiff); |
| 188 | |
| 189 | // now step the last one (that way, if seek is not supported, as in sensor, at least one frame |
| 190 | // will be read). |
| 191 | g_bPause = false; |
| 192 | g_bStep = true; |
| 193 | } |
| 194 | |
| 195 | void init_opengl() |
| 196 | { |
nothing calls this directly
no test coverage detected