fixed a bunch of clang warnings

This commit is contained in:
itsmattkc
2018-11-11 15:30:17 -08:00
parent 660b1d7547
commit 967a91b8f0
18 changed files with 4536 additions and 64 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ GLuint ViewerWidget::draw_clip(QOpenGLFramebufferObject* fbo, GLuint texture) {
glTexCoord2f(0, 1); // bottom left
glVertex2f(0, 1); // bottom left
glEnd();
glBindTexture(GL_TEXTURE_2D, NULL);
glBindTexture(GL_TEXTURE_2D, 0);
fbo->release();
if (default_fbo != NULL) default_fbo->bind();