]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.cxx
Alex Romosan:
[flightgear.git] / src / Cockpit / panel.cxx
index 03e003c6c218d34375b8975f6c16e3919240849c..d59c06f5101c4202bc7e8c83e10c49916f733bac 100644 (file)
@@ -811,7 +811,7 @@ FGLayeredInstrument::addLayer (FGInstrumentLayer *layer)
 }
 
 int
-FGLayeredInstrument::addLayer (FGCroppedTexture &texture,
+FGLayeredInstrument::addLayer (const FGCroppedTexture &texture,
                               int w, int h)
 {
   return addLayer(new FGTexturedLayer(texture, w, h));