fixed various caching issues

This commit is contained in:
itsmattkc
2019-09-02 22:58:44 +10:00
parent 3a9af58344
commit 12bc5839a6
19 changed files with 196 additions and 61 deletions
+4 -2
View File
@@ -27,6 +27,7 @@
class RenderFramebuffer : public QObject
{
Q_OBJECT
public:
RenderFramebuffer();
~RenderFramebuffer();
@@ -37,8 +38,6 @@ public:
void Create(QOpenGLContext *ctx);
void Destroy();
bool IsCreated() const;
void Bind();
@@ -53,6 +52,9 @@ public:
const GLuint& buffer() const;
public slots:
void Destroy();
private:
void AttachInternal(GLuint tex);