Moved where glBlendFunc() is reset to main.cxx
This commit is contained in:
parent
2fde2ce581
commit
ca07b64af0
@ -392,7 +392,6 @@ void Moon::newImage()
|
|||||||
glDisable(GL_BLEND); // BLEND DISABLED
|
glDisable(GL_BLEND); // BLEND DISABLED
|
||||||
}
|
}
|
||||||
xglPopMatrix();
|
xglPopMatrix();
|
||||||
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
|
|
||||||
glDisable(GL_LIGHTING); // Lighting Disabled.
|
glDisable(GL_LIGHTING); // Lighting Disabled.
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -266,7 +266,6 @@ void Star::newImage(void)
|
|||||||
}
|
}
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
glDisable(GL_TEXTURE_2D); // TEXTURE DISABLED
|
glDisable(GL_TEXTURE_2D); // TEXTURE DISABLED
|
||||||
glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
|
|
||||||
glDisable(GL_BLEND); // BLEND DISABLED
|
glDisable(GL_BLEND); // BLEND DISABLED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user