I’m wondering why I see two viewports with SIS card.I don’t see such problem in NVidia and ATI cards.Here’s my reshape function:
void WINDOW::ReshapeGL(int width, int height) // Reshape The Window When It's Moved Or Resized
{
glViewport (0, 0, (GLsizei)(width), (GLsizei)(height)); // Reset The Current Viewport
glMatrixMode (GL_PROJECTION); // Select The Projection Matrix
glLoadIdentity (); // Reset The Projection Matrix
gluPerspective( 45.0f, (float)width/(float)height, 0.1, 1000.0);
glMatrixMode (GL_MODELVIEW); // Select The Modelview Matrix
glLoadIdentity (); // Reset The Modelview Matrix
}
Our code reports that this cards has installed with Microsoft. Unfortunately we didin’t find its driver in the net to install it(I don’t remember the model of this SIS card). So does this viewport problem refer to my code?
-Ehsan-