mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 08:10:05 +00:00
Add layer wrapper and generic layer
This commit is contained in:
parent
9ff6eabd2a
commit
a010cc55c3
12 changed files with 187 additions and 40 deletions
|
|
@ -72,7 +72,7 @@ OverlayLayer::OverlayLayer(
|
|||
}
|
||||
OverlayLayer::~OverlayLayer() = default;
|
||||
|
||||
void OverlayLayer::initialize()
|
||||
void OverlayLayer::Initialize()
|
||||
{
|
||||
BOOST_LOG_TRIVIAL(debug) << logPrefix_ << "initialize()";
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ void OverlayLayer::initialize()
|
|||
&OverlayLayer::UpdateSweepTimeNextFrame);
|
||||
}
|
||||
|
||||
void OverlayLayer::render(const QMapbox::CustomLayerRenderParameters& params)
|
||||
void OverlayLayer::Render(const QMapbox::CustomLayerRenderParameters& params)
|
||||
{
|
||||
gl::OpenGLFunctions& gl = p->gl_;
|
||||
|
||||
|
|
@ -233,7 +233,7 @@ void OverlayLayer::render(const QMapbox::CustomLayerRenderParameters& params)
|
|||
SCWX_GL_CHECK_ERROR();
|
||||
}
|
||||
|
||||
void OverlayLayer::deinitialize()
|
||||
void OverlayLayer::Deinitialize()
|
||||
{
|
||||
gl::OpenGLFunctions& gl = p->gl_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue