fix rtt copy/move

This commit is contained in:
2019-10-15 16:59:55 +02:00
parent 9ccd6ed2f4
commit 5f002cca53
6 changed files with 161 additions and 73 deletions

View File

@@ -3,19 +3,24 @@
class RTT
{
int w = 0;
int h = 0;
GLuint fboID = 0;
GLuint texID = 0;
GLuint rboID = 0;
GLint int_fmt = 0;
bool bound = false;
GLint oldRFboID = 0;
GLint oldDFboID = 0;
GLuint fboID = 0;
GLuint rboID = 0;
GLuint texID = 0;
GLint int_fmt = 0;
int w = 0;
int h = 0;
public:
// copy
RTT(const RTT&) = delete;
RTT& operator=(const RTT&) = delete;
// move
RTT(RTT&& other);
RTT& operator=(RTT&&);
// default
RTT();
~RTT();