Thank you Casey,
The thing is I don't know how to go back to the 2D state (default).
PushMatrix and PopMatrix don't seem to work for some reason, I will
try to isolate the problem and post the code later, but in any case I
don't know how to go back to whatever state is the default, as in
You need to set an orthonographic projection matrix after pushing, you
can use glOrtho.
I prefer to set my perspective projection at the beginning of each
frame, and then set an ortho matrix before drawing my GUI - avoiding
push/pop entirely.
-- Sent from Tristam's iPhone
On Jan 28,