mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:30:05 +00:00
Backend support for multiple color tables
This commit is contained in:
parent
951710dcfe
commit
bcae7d9825
6 changed files with 90 additions and 24 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue