384 fix Broken track map
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4292 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 4f419d6a4a6b95b63e9cffa7435f34c1d04796cf Former-commit-id: 45317929bd2b4227b8ff27e756a5845fc361db34
This commit is contained in:
parent
ff562e4dc4
commit
eaef0ed2c5
1 changed files with 8 additions and 0 deletions
|
@ -243,7 +243,15 @@ cGrTrackMap::cGrTrackMap()
|
||||||
bool firstvert = true;
|
bool firstvert = true;
|
||||||
float xf1, yf1 , xf2, yf2;
|
float xf1, yf1 , xf2, yf2;
|
||||||
xf1 = yf1 = xf2 = yf2 = 0.0;
|
xf1 = yf1 = xf2 = yf2 = 0.0;
|
||||||
|
|
||||||
|
glDisable(GL_DEPTH_TEST);
|
||||||
|
glDisable(GL_CULL_FACE);
|
||||||
|
glDisable(GL_TEXTURE_2D);
|
||||||
|
glDisable(GL_LIGHTING);
|
||||||
|
glColor4f(1.0, 1.0, 1.0, 1.0);
|
||||||
|
|
||||||
glBegin(GL_QUAD_STRIP);
|
glBegin(GL_QUAD_STRIP);
|
||||||
|
|
||||||
seg = first;
|
seg = first;
|
||||||
do {
|
do {
|
||||||
if (seg->type == TR_STR) {
|
if (seg->type == TR_STR) {
|
||||||
|
|
Loading…
Reference in a new issue