mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] dont mipmap when enlarging smaller screens
This commit is contained in:
parent
0ccb38940e
commit
79dffa047f
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue