Minor fix for previous commit (debug track was shown in

kart selection screen).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk
2009-07-17 01:08:00 +00:00
parent 6706e72311
commit 75d301417c

View File

@@ -383,12 +383,14 @@ int QuadGraph::findOutOfRoadSector(const Vec3& xyz,
video::ITexture *QuadGraph::makeMiniMap(const core::dimension2di &dimension,
const std::string &name)
{
return NULL;
video::ITexture *texture =
irr_driver->getVideoDriver()->addTexture(dimension, name.c_str());
// FIXME: all very much work in progress, only committed as a backup
// (and to include the debug cleanup)
createDebugMesh();
// createDebugMesh();
scene::IMesh *mesh = irr_driver->createQuadMesh();
scene::IMeshBuffer *buffer = mesh->getMeshBuffer(0);