From 96f1e4317803b9dd4334c9ad3417696e33b7951b Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 24 Apr 2011 17:43:28 +0000 Subject: [PATCH] remove anisotropic from material.xml code git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8439 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/material.cpp | 2 -- src/graphics/material.hpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index 3528efa8e..5015d284e 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -87,7 +87,6 @@ Material::Material(const XMLNode *node, int index) node->get("additive", &m_add ); node->get("max-speed", &m_max_speed_fraction); node->get("slowdown-time", &m_slowdown_time ); - node->get("anisotropic", &m_anisotropic ); node->get("backface-culling", &m_backface_culling ); node->get("disable-z-write", &m_disable_z_write ); @@ -213,7 +212,6 @@ void Material::init(unsigned int index) m_adjust_image = ADJ_NONE; m_alpha_blending = false; m_lighting = true; - m_anisotropic = false; m_backface_culling = true; m_sphere_map = false; m_friction = 1.0f; diff --git a/src/graphics/material.hpp b/src/graphics/material.hpp index c2d583568..b704b9172 100644 --- a/src/graphics/material.hpp +++ b/src/graphics/material.hpp @@ -99,9 +99,6 @@ private: /** True if backface culliing should be enabled. */ bool m_backface_culling; - - /** Whether to use anisotropic filtering for this texture */ - bool m_anisotropic; /** Set to true to disable writing to the Z buffer. Usually to be used with alpha blending */ bool m_disable_z_write;