Apparently this isn't needed anymore? hmm..

This commit is contained in:
Joost Peters 2005-03-06 15:29:23 +00:00
parent 245b7105d4
commit 8263cddc8e

View file

@ -404,19 +404,6 @@ void DriverGL::drawDepthBitmap(int x, int y, int w, int h, char *data) {
// }
if (y + h == 480) {
//For some mysterious reason residual crashes
//on this glRasterPos2i(...) call on Mac.
//However, if we issue some dummy gl* calls beforehand
//(either this or some nonsensical state change) then
//everything works fine... how odd.
//Use this workaround for now.
#ifdef MACOSX
glBegin(GL_POINTS);
glEnd();
#endif
glRasterPos2i(x, 479);
glBitmap(0, 0, 0, 0, 0, -1, NULL);
} else