Skip to content

Commit

Permalink
Fix flipped textures for drawtype "glasslike"
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Jul 16, 2014
1 parent 65b8b52 commit 9a016a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/content_mapblock.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9a016a6

Please sign in to comment.