Window: Use bilinear filtering for drawing controls

See #44
This commit is contained in:
Jonas Kulla 2014-07-03 14:32:03 +02:00
parent 4a0084801e
commit 033d46a293
1 changed files with 4 additions and 0 deletions

View File

@ -608,8 +608,12 @@ struct WindowPrivate
/* Draw arrows / cursors */ /* Draw arrows / cursors */
windowskin->bindTex(shader); windowskin->bindTex(shader);
TEX::setSmooth(true);
controlsQuadArray.draw(0, controlsQuadCount); controlsQuadArray.draw(0, controlsQuadCount);
TEX::setSmooth(false);
if (contents) if (contents)
{ {
/* Draw contents bitmap */ /* Draw contents bitmap */