Fix flipped textures for drawtype "glasslike"

This commit is contained in:
sapier 2014-07-16 16:37:41 +02:00
parent 65b8b524c0
commit 9a016a6294

@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data,
// The face at Z+ // The face at Z+
video::S3DVertex vertices[4] = { video::S3DVertex vertices[4] = {
video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 0,1), video::S3DVertex(-BS/2,-BS/2,BS/2, 0,0,0, c, 1,1),
video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 1,1), video::S3DVertex(BS/2,-BS/2,BS/2, 0,0,0, c, 0,1),
video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 1,0), video::S3DVertex(BS/2,BS/2,BS/2, 0,0,0, c, 0,0),
video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 0,0), video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0),
}; };
// Rotations in the g_6dirs format // Rotations in the g_6dirs format