// set up viewpoint
qglMatrixMode(GL_PROJECTION);CHECKGLERROR
+ qglLoadIdentity();CHECKGLERROR
// pyramid slopes
xmax = zNear * tan(fovx * M_PI / 360.0);
ymax = zNear * tan(fovy * M_PI / 360.0);
// set up viewpoint
qglMatrixMode(GL_PROJECTION);CHECKGLERROR
+ qglLoadIdentity();CHECKGLERROR
// set view pyramid
nudge = 1.0 - 1.0 / (1<<23);
m[ 0] = 1.0 / tan(fovx * M_PI / 360.0);
// set up viewpoint
qglMatrixMode(GL_PROJECTION);CHECKGLERROR
+ qglLoadIdentity();CHECKGLERROR
qglOrtho(x1, x2, y2, y1, zNear, zFar);
qglMatrixMode(GL_MODELVIEW);CHECKGLERROR
GL_SetupView_Orientation_Identity();
extern void (GLAPIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei height);
//extern void (GLAPIENTRY *qglPushMatrix)(void);
//extern void (GLAPIENTRY *qglPopMatrix)(void);
-//extern void (GLAPIENTRY *qglLoadIdentity)(void);
+extern void (GLAPIENTRY *qglLoadIdentity)(void);
//extern void (GLAPIENTRY *qglLoadMatrixd)(const GLdouble *m);
extern void (GLAPIENTRY *qglLoadMatrixf)(const GLfloat *m);
//extern void (GLAPIENTRY *qglMultMatrixd)(const GLdouble *m);
void (GLAPIENTRY *qglViewport)(GLint x, GLint y, GLsizei width, GLsizei height);
//void (GLAPIENTRY *qglPushMatrix)(void);
//void (GLAPIENTRY *qglPopMatrix)(void);
-//void (GLAPIENTRY *qglLoadIdentity)(void);
+void (GLAPIENTRY *qglLoadIdentity)(void);
//void (GLAPIENTRY *qglLoadMatrixd)(const GLdouble *m);
void (GLAPIENTRY *qglLoadMatrixf)(const GLfloat *m);
//void (GLAPIENTRY *qglMultMatrixd)(const GLdouble *m);
{"glViewport", (void **) &qglViewport},
// {"glPushMatrix", (void **) &qglPushMatrix},
// {"glPopMatrix", (void **) &qglPopMatrix},
-// {"glLoadIdentity", (void **) &qglLoadIdentity},
+ {"glLoadIdentity", (void **) &qglLoadIdentity},
// {"glLoadMatrixd", (void **) &qglLoadMatrixd},
{"glLoadMatrixf", (void **) &qglLoadMatrixf},
// {"glMultMatrixd", (void **) &qglMultMatrixd},