Add GlContext base class for MapContext

This commit is contained in:
Dan Paulat 2022-10-02 23:44:09 -05:00
parent a45e996872
commit d84a618d3d
7 changed files with 115 additions and 57 deletions

View file

@ -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;