fix Xcode concurrency code

This commit is contained in:
2019-01-12 18:49:23 +01:00
parent e95421c2ed
commit 6b0dc38ee4
4 changed files with 18 additions and 25 deletions

View File

@@ -29,10 +29,10 @@ public:
void unbindFramebuffer();
void bindTexture();
void unbindTexture();
GLuint getTextureID() { return texID; }
int getWidth() { return w; }
int getHeight() { return h; }
int bytes() { return w * h * 4; }
int stride() { return w * 4; }
GLuint getFBO() { return fboID; }
GLuint getTextureID() const { return texID; }
int getWidth() const { return w; }
int getHeight() const { return h; }
int bytes() const { return w * h * 4; }
int stride() const { return w * 4; }
GLuint getFBO() const { return fboID; }
};