From 9a016a6294f289e1687b9a4655ea3f02f2208201 Mon Sep 17 00:00:00 2001 From: sapier Date: Wed, 16 Jul 2014 16:37:41 +0200 Subject: Fix flipped textures for drawtype "glasslike" --- src/content_mapblock.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/content_mapblock.cpp b/src/content_mapblock.cpp index 9078488c2..9cdf426be 100644 --- a/src/content_mapblock.cpp +++ b/src/content_mapblock.cpp @@ -710,10 +710,10 @@ void mapblock_mesh_generate_special(MeshMakeData *data, // The face at Z+ 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,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,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, 0,0), + video::S3DVertex(-BS/2,BS/2,BS/2, 0,0,0, c, 1,0), }; // Rotations in the g_6dirs format -- cgit v1.2.3