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 -7
View File
@@ -26,13 +26,9 @@
#include "pixelformat.h"
// FIXME: Test code
#include <QMutex>
extern QMutex m;
// End test code
class RenderTexture : public QObject
{
Q_OBJECT
public:
enum Type {
kSingleBuffer,
@@ -51,8 +47,6 @@ public:
bool IsCreated() const;
void Destroy();
void Bind();
void Release();
@@ -73,6 +67,9 @@ public:
uchar *Download() const;
public slots:
void Destroy();
private:
void CreateInternal(GLuint *tex, void *data = nullptr);