From: <de...@us...> - 2003-12-21 09:56:03
|
Update of /cvsroot/csp/APPLICATIONS/CSPSim/Source In directory sc8-pr-cvs1:/tmp/cvs-serv24194 Modified Files: Sky.cpp Log Message: Fixed stars at daytime on windows Index: Sky.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Source/Sky.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Sky.cpp 20 Oct 2003 00:23:23 -0000 1.22 --- Sky.cpp 21 Dec 2003 09:56:00 -0000 1.23 *************** *** 256,261 **** glRotatef(rx, 1, 0, 0); glRotatef(rz, 0, 0, 1); ! glBegin(GL_POINTS); glEnable(GL_BLEND); for (; --i >= 0; ++c, ++p) { glColor4f(c->x(), c->y(), c->z(), c->w()*alpha); --- 256,263 ---- glRotatef(rx, 1, 0, 0); glRotatef(rz, 0, 0, 1); ! glEnable(GL_BLEND); + + glBegin(GL_POINTS); for (; --i >= 0; ++c, ++p) { glColor4f(c->x(), c->y(), c->z(), c->w()*alpha); |