]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/oursun.cxx
First quick hack at panel shading.
[simgear.git] / simgear / sky / oursun.cxx
index 80d12c07f739b735eca9fd99c97ca6a5e1b8d685..6b03214bc3a1e2c122f4ffb0a4fada288a64ffb7 100644 (file)
 // $Id$
 
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <stdio.h>
 #include <iostream>
 
@@ -227,7 +231,6 @@ ssgBranch * SGSun::build( FGPath path, double sun_size ) {
     path.append( "halo.rgba" );
     halo_state = new ssgSimpleState();
     halo_state->setTexture( (char *)path.c_str() );
-    // halo_state->setTexture( sun_texid );
     halo_state->enable( GL_TEXTURE_2D );
     halo_state->disable( GL_LIGHTING );
     halo_state->setShadeModel( GL_SMOOTH );