iOS/buildlibs/armv7/allegro-4.4.2/addons/allegrogl/src/glvtable.c
/** \ingroup allegro
  * Restores previously saved projection.
  *
  * This function returns the projection and modelview matrices to their
  * state before the last allegro_gl_set_projection() was called.
  *
  * \sa allegro_gl_set_projection() allegro_gl_set_allegro_mode()
  * \sa allegro_gl_unset_allegro_mode()
  */
\ingroup allegro
Restores previously saved projection.

This function returns the projection and modelview matrices to their
state before the last allegro_gl_set_projection() was called.


\ ingroup allegro Restores previously saved projection . This function returns the projection and modelview matrices to their state before the last allegro_gl_set_projection () was called .
void allegro_gl_unset_projection(void)
{
	AGL_LOG(2, "glvtable.c:allegro_gl_unset_projection\n");
	glMatrixMode(GL_PROJECTION);
	glLoadMatrixd(allegro_gl_projection_matrix);
	glMatrixMode(GL_MODELVIEW);
	glLoadMatrixd(allegro_gl_modelview_matrix);
}
void allegro_gl_unset_projection ( void ) { AGL_LOG ( 2 , " \n " ) ; glMatrixMode ( GL_PROJECTION ) ; glLoadMatrixd ( allegro_gl_projection_matrix ) ; glMatrixMode ( GL_MODELVIEW ) ; glLoadMatrixd ( allegro_gl_modelview_matrix ) ; }
\ingroup allegro
 Restores previously saved projection.
\ ingroup allegro Restores previously saved projection .