cheapest way to draw a fullscreen quad

Posted by Soubok on Stack Overflow See other posts from Stack Overflow or by Soubok
Published on 2010-03-25T18:09:51Z Indexed on 2010/03/25 18:13 UTC
Read the original article Hit count: 335

Filed under:
|

I wondering if there is a faster way to draw a full-screen quad in OpenGL:

NewList();
PushMatrix();
LoadIdentity();
MatrixMode(PROJECTION);
PushMatrix();
LoadIdentity();
Begin(QUADS);
Vertex(-1,-1,0);  Vertex(1,-1,0);  Vertex(1,1,0);  Vertex(-1,1,0);
End();
PopMatrix();
MatrixMode(MODELVIEW);
PopMatrix();
EndList();

© Stack Overflow or respective owner

Related posts about opengl

Related posts about optimization