]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.cxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Cockpit / panel.cxx
index 7274e5570ccbf2949643c1c23e3a13c1afa15480..890b9a39dbb6961b54fed45fcb6bda2119d549a1 100644 (file)
@@ -31,7 +31,7 @@
 #  include <config.h>
 #endif
 
-#ifdef HAVE_WINDOWS_H          
+#ifdef HAVE_WINDOWS_H
 #  include <windows.h>
 #endif
 
@@ -139,7 +139,11 @@ FGTextureManager::createTexture (const string &relativePath)
 }
 
 
-
+void FGTextureManager::addTexture(const string &relativePath,
+                                  osg::Texture2D* texture)
+{
+    _textureMap[relativePath] = texture;
+}
 \f
 ////////////////////////////////////////////////////////////////////////
 // Implementation of FGCropped Texture.