mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 23:40:04 +00:00
Add GlContext base class for MapContext
This commit is contained in:
parent
a45e996872
commit
d84a618d3d
7 changed files with 115 additions and 57 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/qt/map/map_context.hpp>
|
||||
#include <scwx/qt/gl/gl_context.hpp>
|
||||
#include <scwx/qt/util/font.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
|
@ -27,7 +27,7 @@ class TextShaderImpl;
|
|||
class TextShader
|
||||
{
|
||||
public:
|
||||
explicit TextShader(std::shared_ptr<map::MapContext> context);
|
||||
explicit TextShader(std::shared_ptr<GlContext> context);
|
||||
~TextShader();
|
||||
|
||||
TextShader(const TextShader&) = delete;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue