mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] dont mipmap when enlarging smaller screens
This commit is contained in:
parent
0ccb38940e
commit
79dffa047f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user