mirror of
https://github.com/overte-org/overte.git
synced 2025-06-21 02:00:10 +02:00
Fix duplicated window member
This commit is contained in:
parent
bbba7d1b1d
commit
caf952c252
1 changed files with 1 additions and 2 deletions
|
@ -56,6 +56,7 @@ namespace gl {
|
||||||
void release();
|
void release();
|
||||||
virtual ~Context();
|
virtual ~Context();
|
||||||
|
|
||||||
|
QWindow* getWindow() const { return _window; }
|
||||||
void clear();
|
void clear();
|
||||||
void setWindow(QWindow* window);
|
void setWindow(QWindow* window);
|
||||||
bool makeCurrent();
|
bool makeCurrent();
|
||||||
|
@ -80,8 +81,6 @@ namespace gl {
|
||||||
|
|
||||||
class OffscreenContext : public Context {
|
class OffscreenContext : public Context {
|
||||||
using Parent = Context;
|
using Parent = Context;
|
||||||
protected:
|
|
||||||
QWindow* _window { nullptr };
|
|
||||||
public:
|
public:
|
||||||
virtual ~OffscreenContext();
|
virtual ~OffscreenContext();
|
||||||
void create(QOpenGLContext* shareContext = nullptr) override;
|
void create(QOpenGLContext* shareContext = nullptr) override;
|
||||||
|
|
Loading…
Reference in a new issue