[client] dont mipmap when enlarging smaller screens

This commit is contained in:
Geoffrey McRae committed 2017-12-12 03:59:58 +11:00
1 parent 0ccb38940e
commit 79dffa047f
1 file changed
+2 -2
+2 -2
View File
@@ -206,8 +206,8 @@ bool lgr_opengl_render(void * opaque, const LG_RendererRect destRect, const uint
);
const bool mipmap = resample && (
(this->format.width != destRect.w) ||
(this->format.height != destRect.h));
(this->format.width > destRect.w) ||
(this->format.height > destRect.h));
// unbind the buffer
glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);