zhigang.yao
07-13-2005, 08:59 PM
Enviorment:Pentium2.0G, 256M RAM, visual studio 2003, OS-windows2003.
I open a 1024*512 window and attach a Opengl rendering context on it. set the glortho range to (-100,100,-50,50,-100,100)
but when I try to draw a GL_QUAD, it cost 80ms to implement, is it normal?
*************************************************
#define Quad_Width 20.0f
glBegin(GL_QUADS);
glVertex2f(-Quad_Width, Quad_Width);
glVertex2f(Quad_Width, Quad_Width);
glVertex2f( Quad_Width, -Quad_Width);
glVertex2f(-Quad_Width, -Quad_Width);
glEnd();
*************************************************
Hope experts help me.
I open a 1024*512 window and attach a Opengl rendering context on it. set the glortho range to (-100,100,-50,50,-100,100)
but when I try to draw a GL_QUAD, it cost 80ms to implement, is it normal?
*************************************************
#define Quad_Width 20.0f
glBegin(GL_QUADS);
glVertex2f(-Quad_Width, Quad_Width);
glVertex2f(Quad_Width, Quad_Width);
glVertex2f( Quad_Width, -Quad_Width);
glVertex2f(-Quad_Width, -Quad_Width);
glEnd();
*************************************************
Hope experts help me.