Fix flipped textures for drawtype "glasslike"

This commit is contained in:
sapier 2014-07-16 16:37:41 +02:00
parent 73907a2c7e
commit e2bc0d1dd8

View File

@ -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