Fixed a bug that caused the hud fonts to disappear when ever the moon was
being drawn.
This commit is contained in:
parent
dc729fae17
commit
d3908f531f
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ void Moon::newImage()
|
|||
// set lighting parameters
|
||||
xglLightfv(GL_LIGHT0, GL_AMBIENT, white );
|
||||
xglLightfv(GL_LIGHT0, GL_DIFFUSE, white );
|
||||
xglEnable( GL_CULL_FACE );
|
||||
// xglEnable( GL_CULL_FACE );
|
||||
xglMaterialfv(GL_FRONT, GL_AMBIENT, black);
|
||||
xglMaterialfv(GL_FRONT, GL_DIFFUSE, moonColor);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue