minor adjustments to render threads

This commit is contained in:
itsmattkc
2019-08-29 18:53:06 +10:00
parent 27effb9473
commit b81d0598b3
7 changed files with 74 additions and 59 deletions
+6 -1
View File
@@ -26,6 +26,11 @@
#include "pixelformat.h"
// FIXME: Test code
#include <QMutex>
extern QMutex m;
// End test code
class RenderTexture : public QObject
{
public:
@@ -69,7 +74,7 @@ public:
uchar *Download() const;
private:
void CreateInternal(void *data = nullptr);
void CreateInternal(GLuint *tex, void *data = nullptr);
QOpenGLContext* context_;