I am working on a game for blackberry playbook and in that game there is a requirement that during gameplay it should take snapshots in random positions and for this requirement I am using following open GL function
glGetIntegerv(GL_FRAMEBUFFER_BINDING_OES, params);
now I have two questions that
- After execution this function sets NULL in params (GLUInt*), is this some sort of error if so how could I resolve this error.
- Is this the right function to get snapshot, if no what other function should I use?