Clean up some compiler warnings

This commit is contained in:
Connor McLaughlin committed 2020-10-11 12:21:08 +10:00
1 parent 5e65882920
commit d39c9f5d1c
13 files changed
+14 -24

No files matched your search

-1
View File
@@ -158,7 +158,6 @@ void Texture::GetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLi
else
glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, level);
GLuint status = glCheckFramebufferStatus(GL_READ_FRAMEBUFFER);
DebugAssert(glCheckFramebufferStatus(GL_READ_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
glReadPixels(xoffset, yoffset, width, height, format, type, pixels);