+# ifdef DEBUG
+ check_gl_error ("glPushAttrib");
+# endif
+
+ /* disable lighting and texturing when drawing bitmaps!
+ (glPopAttrib() restores these.)
+ */
+ glDisable (GL_TEXTURE_2D);
+ glDisable (GL_LIGHTING);
+ glDisable (GL_BLEND);
+ glDisable (GL_DEPTH_TEST);
+ glDisable (GL_CULL_FACE);
+
+ /* glPopAttrib() does not restore matrix changes, so we must
+ push/pop the matrix stacks to be non-intrusive there.
+ */