mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:10:04 +00:00
Creating OpenGL utility class, consolidating number of OpenGL function objects
This commit is contained in:
parent
c6a323247d
commit
59be110c10
10 changed files with 124 additions and 73 deletions
|
|
@ -1,4 +1,8 @@
|
|||
#include <qmapboxgl.hpp>
|
||||
#pragma once
|
||||
|
||||
#include <scwx/qt/util/gl.hpp>
|
||||
|
||||
#include <QMapboxGL>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -10,7 +14,7 @@ class TriangleLayerImpl;
|
|||
class TriangleLayer : public QMapbox::CustomLayerHostInterface
|
||||
{
|
||||
public:
|
||||
explicit TriangleLayer();
|
||||
explicit TriangleLayer(OpenGLFunctions& gl);
|
||||
~TriangleLayer();
|
||||
|
||||
TriangleLayer(const TriangleLayer&) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue