Apparently this isn't needed anymore? hmm..
This commit is contained in:
parent
245b7105d4
commit
8263cddc8e
1 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue