From dd9fedd81056bee2cdb030c8f4b6c9cc38724d15 Mon Sep 17 00:00:00 2001 From: auria Date: Thu, 7 Jan 2010 23:04:59 +0000 Subject: [PATCH] Use texture clamping to enhance GUI look git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4407 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/irr_driver.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index e36ee6dbf..b99e3b121 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -177,7 +177,13 @@ void IrrDriver::initDevice() #if (IRRLICHT_VERSION_MAJOR == 1) && (IRRLICHT_VERSION_MINOR >= 7) video::SMaterial& material2D = m_video_driver->getMaterial2D(); - material2D.TextureLayer[0].BilinearFilter=true; + for (int n=0; nenableMaterial2D(); #endif