Add isCreated to QOpenGLTextureBlitter
Change-Id: Icb1a0354ac1caee38e3cb0cba6d7daec99d66c54 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
parent
ba2ea6da29
commit
7d005c502b
@ -282,6 +282,12 @@ bool QOpenGLTextureBlitter::create()
|
||||
return true;
|
||||
}
|
||||
|
||||
bool QOpenGLTextureBlitter::isCreated() const
|
||||
{
|
||||
Q_D(const QOpenGLTextureBlitter);
|
||||
return d->program;
|
||||
}
|
||||
|
||||
void QOpenGLTextureBlitter::destroy()
|
||||
{
|
||||
Q_D(QOpenGLTextureBlitter);
|
||||
|
@ -62,6 +62,7 @@ public:
|
||||
};
|
||||
|
||||
bool create();
|
||||
bool isCreated() const;
|
||||
void destroy();
|
||||
|
||||
void bind();
|
||||
|
Loading…
x
Reference in New Issue
Block a user