mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:20:05 +00:00
Use GLEW instead of QOpenGLFunctions
This commit is contained in:
parent
4bd749d976
commit
331b2d855f
33 changed files with 788 additions and 959 deletions
|
|
@ -300,8 +300,6 @@ void AlertLayer::Initialize(const std::shared_ptr<MapContext>& mapContext)
|
|||
void AlertLayer::Render(const std::shared_ptr<MapContext>& mapContext,
|
||||
const QMapLibre::CustomLayerRenderParameters& params)
|
||||
{
|
||||
gl::OpenGLFunctions& gl = gl_context()->gl();
|
||||
|
||||
for (auto alertActive : {false, true})
|
||||
{
|
||||
p->geoLines_.at(alertActive)->set_selected_time(p->selectedTime_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue