gl-renderer: Take into account viewport when choosing filtering
Currently the viewport isn't taken into account when choosing
filtering - we end up with GL_NEAREST
filtering when we
should have GL_LINEAR
. Take into account the viewport when
choosing filtering to solve this issue.
Fixes: #554
Signed-off-by: Christopher Obbard chris.obbard@collabora.com
Edited by Christopher Obbard