Add shader programs to Geo Line class

This commit is contained in:
Dan Paulat 2022-10-03 00:21:31 -05:00
parent 224d36bae5
commit ca9331cf7c
2 changed files with 31 additions and 12 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#include <scwx/qt/gl/gl.hpp>
#include <scwx/qt/gl/gl_context.hpp>
#include <scwx/qt/gl/draw/draw_item.hpp>
#include <boost/gil.hpp>
@ -17,7 +17,7 @@ namespace draw
class GeoLine : public DrawItem
{
public:
explicit GeoLine(OpenGLFunctions& gl);
explicit GeoLine(std::shared_ptr<GlContext> context);
~GeoLine();
GeoLine(const GeoLine&) = delete;