Fixed track screenshot being flipped when coming out of chest

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-03-05 23:42:44 +00:00
parent 26fc6bb627
commit 6d800e52fa

View File

@ -530,22 +530,22 @@ scene::IMesh *IrrDriver::createTexturedQuadMesh(const video::SMaterial *material
video::S3DVertex v1; video::S3DVertex v1;
v1.Pos = core::vector3df(-w_2,-h_2,0); v1.Pos = core::vector3df(-w_2,-h_2,0);
v1.Normal = core::vector3df(0, 0, -1.0f); v1.Normal = core::vector3df(0, 0, -1.0f);
v1.TCoords = core::vector2d<f32>(0,1); v1.TCoords = core::vector2d<f32>(1,1);
video::S3DVertex v2; video::S3DVertex v2;
v2.Pos = core::vector3df(w_2,-h_2,0); v2.Pos = core::vector3df(w_2,-h_2,0);
v2.Normal = core::vector3df(0, 0, -1.0f); v2.Normal = core::vector3df(0, 0, -1.0f);
v2.TCoords = core::vector2d<f32>(1,1); v2.TCoords = core::vector2d<f32>(0,1);
video::S3DVertex v3; video::S3DVertex v3;
v3.Pos = core::vector3df(w_2,h_2,0); v3.Pos = core::vector3df(w_2,h_2,0);
v3.Normal = core::vector3df(0, 0, -1.0f); v3.Normal = core::vector3df(0, 0, -1.0f);
v3.TCoords = core::vector2d<f32>(1,0); v3.TCoords = core::vector2d<f32>(0,0);
video::S3DVertex v4; video::S3DVertex v4;
v4.Pos = core::vector3df(-w_2,h_2,0); v4.Pos = core::vector3df(-w_2,h_2,0);
v4.Normal = core::vector3df(0, 0, -1.0f); v4.Normal = core::vector3df(0, 0, -1.0f);
v4.TCoords = core::vector2d<f32>(0,0); v4.TCoords = core::vector2d<f32>(1,0);
// Add the vertices // Add the vertices