#114668 - Vich - Tue Jan 09, 2007 11:33 pm
After searching the forum, I can't seem to find a way to disable depth testing on the DS.
I expected something like glEnable(GL_DEPTH_TEST), but GL_DEPTH_TEST isn't defined.
The idea is to be able to draw multiple quads over each other. Each new quad that gets drawn should be visibly put over the previously drawn one. My program now randomly sorts them and I think this is because depth testing is on and they are all drawing at a Z value of 0.
I'm not planning to create separate Z values for each quad though, since that would be a dirty hack :P
I expected something like glEnable(GL_DEPTH_TEST), but GL_DEPTH_TEST isn't defined.
The idea is to be able to draw multiple quads over each other. Each new quad that gets drawn should be visibly put over the previously drawn one. My program now randomly sorts them and I think this is because depth testing is on and they are all drawing at a Z value of 0.
I'm not planning to create separate Z values for each quad though, since that would be a dirty hack :P