Browse Source

remove unused variable reference

David Rose 21 years ago
parent
commit
fe1b53ebcf
2 changed files with 0 additions and 10 deletions
  1. 0 9
      panda/src/glstuff/glmisc_src.cxx
  2. 0 1
      panda/src/glstuff/glmisc_src.h

+ 0 - 9
panda/src/glstuff/glmisc_src.cxx

@@ -51,15 +51,6 @@ ConfigVariableBool CLP(save_mipmaps)
    PRC_DESC("Configure this true to cause the generated mipmap images to be "
             "written out to image files on the disk as they are generated."));
 
-ConfigVariableBool CLP(auto_normalize_lighting)
-  ("auto-normalize-lighting", true,
-   PRC_DESC("Configure this true to cause all lighting normals to automatically "
-            "be normalized by the graphics hardware before rendering.  This is "
-            "necessary if you intend to render things under scale transforms and "
-            "expect lighting to work correctly.  Maybe one day there will be "
-            "another way to set this at runtime, instead of only as a configure "
-            "variable."));
-
 ConfigVariableBool CLP(color_mask)
   ("gl-color-mask", true,
    PRC_DESC("Configure this false if your GL's implementation of glColorMask() "

+ 0 - 1
panda/src/glstuff/glmisc_src.h

@@ -28,7 +28,6 @@ extern ConfigVariableBool CLP(ignore_mipmaps);
 extern ConfigVariableBool CLP(force_mipmaps);
 extern ConfigVariableBool CLP(show_mipmaps);
 extern ConfigVariableBool CLP(save_mipmaps);
-extern ConfigVariableBool CLP(auto_normalize_lighting);
 extern ConfigVariableBool CLP(color_mask);
 
 extern EXPCL_GL void CLP(init_classes)();