// **NOTE: fix function
glDisable(GL_TEXTURE_2D);
glDisable(GL_LIGHTING);
- glEnable(GL_BLEND);
+ //glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor3f( 0.0, 0.0, 0.0 );
glVertex3i( 0.0, 0.0, -lineLength );
glEnd();
- glDisable(GL_BLEND);
+ //glDisable(GL_BLEND);
glEnable(GL_LIGHTING);
glEnable(GL_TEXTURE_2D);
}
\ No newline at end of file
glDepthFunc(GL_LEQUAL); // the type\r
glEnable(GL_CULL_FACE);\r
glEnable(GL_TEXTURE_2D);\r
+ glEnable(GL_BLEND);\r
glLineWidth(1.0);\r
\r
glMatrixMode(GL_PROJECTION);\r