Backend support for multiple color tables

This commit is contained in:
Dan Paulat 2021-11-06 08:28:08 -05:00
parent 951710dcfe
commit bcae7d9825
6 changed files with 90 additions and 24 deletions

View file

@ -110,7 +110,7 @@ void RadarProductLayer::initialize()
gl.glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
connect(p->radarProductView_.get(),
&view::RadarProductView::ColorTableLoaded,
&view::RadarProductView::ColorTableUpdated,
this,
&RadarProductLayer::UpdateColorTableNextFrame);
connect(p->radarProductView_.get(),
@ -239,7 +239,7 @@ void RadarProductLayer::deinitialize()
p->texture_ = GL_INVALID_INDEX;
disconnect(p->radarProductView_.get(),
&view::RadarProductView::ColorTableLoaded,
&view::RadarProductView::ColorTableUpdated,
this,
&RadarProductLayer::UpdateColorTableNextFrame);
disconnect(p->radarProductView_.get(),